#348 making \ backslash letter-like

open
nobody
backslash (1)
5*
2012-12-02
2012-10-25
Dominik Wujastyk
No
0 up votes | 0 down votes | 0%
4 comments

In editing, I often want to jump left or right (ctrl-left arrow or ctrl-right arrow) to a macro, and land on the \, not on the first letter of the macro. Would it be possible to make this a choice in the configuration options?

Many thanks,
Dominik

Discussion

  • For some reason, the backslash I typed in the message above didn't get saved. It should read: "and land on the \, not on the first letter..."

    I.e., \here not \here
          ^          ^
    
     
    Last edit: Dominik Wujastyk 2012-10-25
  • Tim Hoffmann
    Tim Hoffmann
    2012-10-25

    Not sure it's easy. That motion is handled in the underlying editor component (QCodeEdit), which only has a concept of words not of tex commands. I will have a look when I have time (no high priority).

    Btw. for writing backslashes in plain text here, you have to escape them (i.e. write \\)

     
    • Priority: 1 --> 5*
     

  • Anonymous
    2012-12-02

    Thanks in advance.
    DW