July 23, 2024, 07:49:50 AM

News:

IWBasic runs in Windows 11!


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