.
.   
NEdit.org
   .

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

Borland IDE Tab / Shift+Tab

[Back]

NEdit v5 has shift_left/right_by_tab commands for changing the indent of the selection. The following macros simply bind these to the Tab and Shift+Tab keys. As you can't use Tab in the macro accelerator entry, you'll have to add the following to your .nedit file, after the nedit.macroCommands: \ line:

submenu>Tab:Tab::: {
	if ($selection_start == -1)
		process_tab()
	else
		shift_right_by_tab()
}
submenu>Shift Tab:Shift+Tab::: {
	if ($selection_start != -1)
		shift_left_by_tab()
}
Change submenu to something appropriate.

[Back]


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

  
Visit our sponsor
Check Metrolink

© NEdit.org
1999-2001
All rights reserved


.