.
.   
NEdit.org
   .

Home
 - News - Download - Documentation - Search - FTP     
.
.
  

Goto matching

[Back]

This should be a standard feature right? The if statement allows you to be on either side of the { or } etc.

c = get_character($cursor-1)

if (search_string("{}()[]<>\"", c, 0) == -1)
   forward_character()

match()

if ($selection_start != -1)
{
   if ($cursor == $selection_start+1)
      set_cursor_pos($selection_end)
   else
      set_cursor_pos($selection_start)
}

select($cursor, $cursor)
[Back]

. Released on  Wed, 21 Nov 2001  by C. Denat  

  
Visit our sponsor
Check Metrolink

© NEdit.org
1999-2001
All rights reserved


.