jed-users mailing list

[2015 Date Index] [2015 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[jed-users] find outer brace


How can I find the outer brace within a code block in C, slang or perl
mode? 
When I do a bsearch_char('{') this will find the next brace backwards and
ignores if there was a closing brace.

"goto_match" works only if the cursor is directly on a brace.


while (condition) { # start
  command1;
  var{key} = val;
  command2; # cursor is here, what to jump to "start" brace
  var{key} = val;
  command3;
}



-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20150929105125.GA4590@xxxxxxxxxxxxxxxxxxxx>
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2015 date index] [2015 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]