You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing Shift+End in a tab with multiple lines of queries/text, it will select up until the end of the file instead of up until the end of the line.
Same is true when doing the opposite with Shift+Home.
This doesn't match the standard behavior seen in most/all text editors.
I'm wondering if that's a WIndows only thing.
Environment
TypeDB version: 2.10
OS of TypeDB server: Windows 11
Studio version: 2.10-alpha-4
OS of Studio: Windows 11
Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
Enter two lines of text in the editor
Place your cursor at the beginning of the first line
Hit Shift-End
Expected Output
Select text up until the end of the current line.
Actual Output
All text is selected.
Additional information
The text was updated successfully, but these errors were encountered:
alexjpwalker
changed the title
Text Selection with Keyboard Issue
Shift+End selects to end of file, not end of line
Jun 6, 2022
## What is the goal of this PR?
Matching the way navigating with the Home & End keys works, adding the
shift key should only select to the end of the line rather than the end
of the file.
## What are the changes implemented in this PR?
SELECT_HOME and SELECT_END only select to the start of the line and the
end of the line rather than the start of the file and the end of the
file respectively.
Also refactored the names of functions that move the cursor to the start
or end of the file to make that fact explicit rather than implicit.
## Additional info
Closes#555
Description
When doing Shift+End in a tab with multiple lines of queries/text, it will select up until the end of the file instead of up until the end of the line.
Same is true when doing the opposite with Shift+Home.
This doesn't match the standard behavior seen in most/all text editors.
I'm wondering if that's a WIndows only thing.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
Select text up until the end of the current line.
Actual Output
All text is selected.
Additional information
The text was updated successfully, but these errors were encountered: