Summary: | EDITING keyboard selection in Basic editor: selection extended one position too far (e.g. Ctrl+Right selects _two_ strings in stead of one) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Cor Nouws <cno> |
Component: | BASIC | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | cno, rafael.palma.lima |
Priority: | medium | Keywords: | bibisectRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: |
Description
Cor Nouws
2024-03-14 12:33:35 UTC
This is actually a very old bug... Ctrl + Left/Right has never worked well for me in the Basic editor. For instance, consider the cursor is in the first position of the following line: Global oKeyHandler As Object If you press Ctrl+Right the cursor will go to the end of oKeyHandler. In any other code editor, the cursor would go to the beginning of oKeyHandler. I'd say the problem is in TextView::KeyInput, located in: /core/vcl/source/edit/textview.cxx (In reply to Rafael Lima from comment #1) > This is actually a very old bug... Ctrl + Left/Right has never worked well > for me in the Basic editor. IIRC, it did for me... Starting (random) 5.0.6.3 shows it behaved as expected in that version > bibisectrequest. > ... > I'd say the problem is in TextView::KeyInput, located in: > /core/vcl/source/edit/textview.cxx Will look into that. |