Project

General

Profile

Actions

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

Added by Carsten Rose about 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
High
Assignee:
Support: Web
Target version:
Start date:
12.02.2023
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

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

Actions #1

Updated by Carsten Rose about 1 year 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)
Actions #2

Updated by Carsten Rose about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Carsten Rose about 1 year 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.

Actions #4

Updated by Carsten Rose about 1 year 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
Actions #5

Updated by Carsten Rose about 1 year ago

Actions #6

Updated by Carsten Rose 11 months 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"}
Actions #7

Updated by Carsten Rose 11 months ago

  • Priority changed from Normal to High
Actions #8

Updated by Carsten Rose about 2 months ago

  • Target version changed from 24.8.0 to 24.3.1
Actions

Also available in: Atom PDF