Skip to content

Block editing in SQL editor is broken #456

@fperana

Description

@fperana

When a block of text is selected while holding Shift+Alt, the resulting behaviour is erratic:

  • if you press Del or Backspace it should delete the selected block, but it simply hangs forever
  • if you press any (character) key it should delete the whole block and replace the last row's selected characters with the pressed key, it instead only replaces the last row's characters without deleting the rest of the block (ok, this is definitely less useful than the Del or Backspace function, which is what I was trying to do)

This is not a big issue, but if possible it would be great to have this work correctly, as I often copy the field's names resulting from a select * from the Statistics window to pick the actual field's names, to use them in a more complex query. They appear like:

Field #1: TABLE_NAME.FIELD_NAME_1 Alias:FIELD_NAME_1 Type:INTEGER sqlype: 496 subtype: 0 len: 4 scale: 0
Field #2: TABLE_NAME.FIELD_NAME_2 Alias:FIELD_NAME_2 Type:STRING(16) sqlype: 448 subtype: 0 len: 16 scale: 0
Field #3: TABLE_NAME.FIELD_NAME_3 Alias:FIELD_NAME_3 Type:SMALLINT sqlype: 500 subtype: 0 len: 2 scale: 0

By block selecting from Field #01: to the last row's TABLE_NAME. and pressing Del or Backspace I can get rid of the unwanted characters, then I do the same for the text after the field's names and, with some manual adjustments, I'm done in a much faster way than by deleting every single row manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions