CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

✨ create new file should open new editing window with active cursor

Open foss- opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Additional click into new editor window needed to start typing

Describe the solution you'd like

Clicking Create new file opens a new window, but cursor is not active. To start typing, a click into the window is needed. To avoid this it would be preferable if new windows opened with active cursor.

Also clicking into the window is not sufficient to trigger an active cursor. in CodeEdit the first line has to be clicked. This complicates getting started on a document even more.

Describe alternatives you've considered

I have nothing to add to this field.

Additional context

My use case is using CodeEdit mostly as text editor, so it may deviate from what developers need. But I was surprised about both behaviors:

  • no active cursor on new document
  • clicking in window does not enable active cursor

macOS 13.1 CodeEdit 1.0. (1)

foss- avatar Jan 05 '23 20:01 foss-

I wonder if we should have new CodeEditTextView instances grabbing first responder.

ben-p-commits avatar Jan 10 '23 00:01 ben-p-commits

Closing, duplicate of https://github.com/CodeEditApp/CodeEditTextView/issues/56

austincondiff avatar Feb 17 '23 19:02 austincondiff