April 19, 2024, 01:55:30 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Automatic Tabbing

Started by Trevor, March 09, 2008, 10:50:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Trevor

Hi. I'm a big fan of indenting inside code blocks and it's really annoying having to press tab every new line. Is it possible in the CB editor to have automatic tabbing?

GWS

March 18, 2008, 04:40:50 AM #1 Last Edit: March 18, 2008, 07:23:47 AM by GWS
Coo! .. some folk want chips with everything .. :)

To cope with my programs, such an editor would have to be pretty intelligent ..  ::)

This is a simple system - you can choose how many spaces a Tab includes, but other than that,
it's hands- on.

Suppose you didn't want tabs in some section - how would an editor know that?

One suggestion, is just keep typing your code lines with no tab indents - and when done, select blocks of code and press Tab.
All the selected lines will indent in one go ..  :)

hope that helps, :)

Graham



Tomorrow may be too late ..

3Dpdk

March 18, 2008, 05:07:42 AM #2 Last Edit: March 18, 2008, 05:29:42 AM by 3Dpdk
I can answer your question with about 75% certainty that unlike QBasic's auto tab feature you will have to go on entering your own tabs. It is a bit tedious, but in my opinion worth the inconvenience for the power of the cBasic interpreter.


aurelCB