Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#425 Delimiter select

Next_major_release
closed
nobody
None
7
2014-08-28
2012-09-13
Andreas Jonsson
No

This was the second most popular idea on the IdeaTorrent:

https://sourceforge.net/apps/ideatorrent/notepad-plus/ideatorrent/idea/169/

This patch allows you to define two custom delimiters, one "left" and one "right", so that Ctrl+Doubleclick selects all text between the delimiters. By default I've set the left delimiter to '(' and the right to ')', but obviously there are many useful choices (curly braces for C programmers, brackets for HTML, etc).

The delimiters can be set by selecting a character and using Settings -> Delimiter selection -> Set left/right.

The flag "entire document" (in the same menu) controls whether or not the program makes the selection on the current line or if it looks for the delimiters in the entire document.

Discussion

<< < 1 2 (Page 2 of 2)
  • Don HO
    Don HO
    2013-06-11

    If double click on l in
    (olo(eye))
    the algo doesn't work.
    But I'm not sure by "it must be matching" you means.

    Don

     
  • This patch handles all known problematic cases.

     
    Last edit: Andreas Jonsson 2013-06-11
  • Don HO
    Don HO
    2013-06-14

    The patch seems works better.
    Commited.
    Thank you Andreas for your patch.

    Don

     
  • Don HO
    Don HO
    2013-07-10

    • status: accepted --> closed
     
<< < 1 2 (Page 2 of 2)