Feature #15534
open
FormEditor > CodeMirror > a) sql1: 'Home/End' jumps to technical line start/end, not the visual one, b) Matching Bracket, c) Comment, d) Shift-Tab
0%
Description
Hat man im CodeMirror eine Textzeile die im Editor umgebrochen wird und der Cursor steht auf (1), dann springt Taste 'home' auf (2). Gewuenscht waere (3). Es gibt bestimmt eine Option in CodeMirror die man setzen kann fuer das gewuenschte Verhalten - waere gut wenn das der Default waere.
Wenn moeglich, bitte Highlight fuer matching brackets '({[<' by default aktivieren.
Files
Updated by Carsten Rose 4 months ago
- Subject changed from FormEditor > CodeMirror > sql1: 'Home/End' jumps to technical line start/end, not the visual one. to FormEditor > CodeMirror > a) sql1: 'Home/End' jumps to technical line start/end, not the visual one, b) Matching Bracket
- Description updated (diff)
Updated by Carsten Rose 4 months ago
- File clipboard-202302162128-gvppi.png clipboard-202302162128-gvppi.png added
- Subject changed from FormEditor > CodeMirror > a) sql1: 'Home/End' jumps to technical line start/end, not the visual one, b) Matching Bracket to FormEditor > CodeMirror > a) sql1: 'Home/End' jumps to technical line start/end, not the visual one, b) Matching Bracket, c) Comment
c) Die '#' wird nicht als Kommentar interpretiert.
Dagegen wird '/* ... */'
als Kommentar visuell markiert - das ist falsch, QFQ interpretiert '/*'
nicht als Kommentar! Das sollte unbedingt abgeschaltet werden.
d) 'Tab' rueckt eine Zeile ein: OK. Shift-Tab sollte die Zeile wieder ausruecken: das funktioniert nicht.
Updated by Carsten Rose 4 months ago
- Subject changed from FormEditor > CodeMirror > a) sql1: 'Home/End' jumps to technical line start/end, not the visual one, b) Matching Bracket, c) Comment to FormEditor > CodeMirror > a) sql1: 'Home/End' jumps to technical line start/end, not the visual one, b) Matching Bracket, c) Comment, d) Shift-Tab
Updated by Carsten Rose 5 days ago
Scheint recht einfach zu sein: https://stackoverflow.com/questions/25005711/make-end-key-move-to-line-wrap-when-using-linewrapping-in-codemirror
extraKeys: { "End": "goLineRight", "Home": "goLineLeft"}