Source language: Translate to:

TAB Indent Blocks of Code

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

TAB Indent Blocks of Code

Postby Ndzn » Mon Nov 02, 2009 1:32 pm

In the editor there are times when I'd like to increase the indent of an entire block of highlighted code.

For example, say you have an existing routine that you now need to wrap in an IF statement. Rather than TAB each line-by-line, you would highlight the entire block, strike TAB, and the whole block would shift out. Likewise, Shift+TAB would decrease the indent...

I use Notepadd++ to do this now but I have to copy my code, toggle over to Notepad++, paste it, indent it, toggle back, paste it back in. (Whoops, that wasn't indented far enough... do it all over again)

It might be cool if the editor could do this. (?)
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby HPW » Mon Nov 02, 2009 2:32 pm

I had asked for similar solution:

http://www.neosoftware.com/forum/viewto ... t=external

To be able to use an external tool comfortably would allow to use the best editors.

So a combobox with all defined tools in any action-dialog together with a new '%a' parameter would allow to edit the current action source in a editor. Choosing a tool from the combobox would select all code in the current action window and would put the source into the clipboard.
Then its start the external tool as defined.

When I am ready with editing I copy my source back to the clipboard.
In the action-editor I would paste back into the selected area whci will replace the code.

To be able to use a powerhorse like Ultraedit would allow much other things.

My 2 cents.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Ndzn » Mon Nov 02, 2009 2:48 pm

Yes, getting to the tools menu is why I wrote ToolTray... so I could get to NeoBook Tools from any action editor. (A shameless little advert here, sorry!)
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby bunker » Tue Nov 03, 2009 11:09 pm

In the meantime maybe NeoIndent helps you. take a look at
http://www.neosoftware.com/forum/viewtopic.php?t=17187.

Greetings
User avatar
bunker
 
Posts: 141
Joined: Sat Sep 29, 2007 4:00 pm

Postby Ndzn » Wed Nov 04, 2009 10:06 am

Nice looking!
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am


Return to NeoBook Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests

cron