#348 making \ backslash letter-like

open
nobody
5*
2015-08-23
2012-10-25
No

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

• Dominik Wujastyk - 2012-10-25

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 - 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

DW

• Tim Hoffmann - 2015-08-23

related: an option has been added to include the backslash in double-click selections [feature-requests:#882]