Page 1 of 1

Does TextPad have the ability to match C braces like Vi

Posted: Fri Mar 21, 2003 2:46 pm
by VincePierre
With Vi I can match C braces { using the percent key. Does anyone know if this is possible in TextPad??? Many thanks in advance!

Posted: Fri Mar 21, 2003 4:33 pm
by Guest
Ctrl-M (for all types)
see TP's help with "How to Find a Matching Bracket"

you can also select the block within Ctrl-Shift-M
(yummy - TP is THIS close to folding ;))
--
sr

thanks

Posted: Mon Mar 24, 2003 7:17 pm
by VincePierre
thank! :)

Posted: Tue Mar 25, 2003 11:38 pm
by Peter Wone
What do you mean by "folding" ?
(yummy - TP is THIS close to folding :wink: )

Posted: Wed Mar 26, 2003 12:38 am
by Guest
Lines within block's of code can be hidden/unhidden with all sort's of
options to give a quick or better overview of it.

Try playing around with http://www.jedit.org if you can't wait for it ;)
Peter Wone wrote:What do you mean by "folding" ?

Posted: Wed Mar 26, 2003 12:43 am
by Guest

CTRl+M BUGS!

Posted: Tue May 06, 2003 7:57 pm
by Guest
The "CTRL+M"-thing seems to be a little buggy, though... I just tested it in a java-file. When i have a "{" in a COMMENT, TextPad acts as if it was not in a comment when i press CTRL+M (that is - it matches the wrong } or { if my comment was inbetween those)

For example try writing:

{
// {
}

and try matching braces with CTRL+M.



Anyway, is there a way to make TextPad *color highlight* the matching bracket, when i move the cursor to a bracket? (like many other texteditors can do - guess u know what i mean)

Posted: Wed May 07, 2003 12:10 am
by s_reynisson
see http://textpad.com/forum/viewtopic.php?t=3787
in the Enhancement Suggestions forum.
and pls vote there! :D