typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 44 forks source link

Finder/Replacer doesn't accept newlines #648

Open jamesreprise opened 1 year ago

jamesreprise commented 1 year ago

Description

After focusing the finder/replacer multiline text input, pressing enter shift+enter does not expand the text input to create a new line.

Environment

  1. TypeDB version: TypeDB 2.11.1
  2. OS of TypeDB server: macOS 12.6
  3. Studio version: 2.11.0
  4. OS of Studio: macOS 12.6

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Open a project directory.
  2. Open a file.
  3. Open the finder or replacer using CMD+F/CMD+R.
  4. Focus the text field.
  5. Start typing and attempt to make a new line using Enter or Shift+Enter.

Expected Output

Characters are inserted upon typing, but no new line is created.

Actual Output

The text field expands, inserting a newline.

Additional information

Copy-pasting multi-line text into the finder/replacer does make it multi-line.