Board Logo
« Auto-Indenting »

Welcome Guest. Please Login or Register.
Jan 21st, 2018, 4:34pm


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Auto-Indenting  (Read 125 times)
bplus
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 1256
xx Auto-Indenting
« Thread started on: Jan 8th, 2018, 10:18am »

Hi,

I just downloaded JB 2.0 b1 (2018-01-07) onto new Windows 10 laptop and the Auto-Indenting is not working. (But now it is remembering my Font preferences for the editor, which I had reported was not working on my old laptop.) BTW, this time I set files to the suggested folder in the Setup app.
« Last Edit: Jan 8th, 2018, 10:21am by bplus » User IP Logged

B+
Rod
Administrator
ImageImageImageImageImage


member is offline

Avatar

Graphics = Goosebumps!


PM

Gender: Male
Posts: 3151
xx Re: Auto-Indenting
« Reply #1 on: Jan 8th, 2018, 2:46pm »

Did you set it in Preferences and restart?
User IP Logged

bplus
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 1256
xx Re: Auto-Indenting
« Reply #2 on: Jan 8th, 2018, 3:08pm »

Yes, several times... unset/reset...

Also I am getting a square zero character when I try to use shift + tab.
« Last Edit: Jan 8th, 2018, 3:09pm by bplus » User IP Logged

B+
Rod
Administrator
ImageImageImageImageImage


member is offline

Avatar

Graphics = Goosebumps!


PM

Gender: Male
Posts: 3151
xx Re: Auto-Indenting
« Reply #3 on: Jan 9th, 2018, 06:13am »

The name suggests it will automatically format the code and properly indent it. But It does not do that. It simply preserves indentation level when enter is pressed.Without it the cursor goes back to the line start on pressing enter.

Quote:
Enable Auto Indenting - This feature causes the Just BASIC editor to copy the level of indenting of the current line to a new line when Enter is pressed. It also has some support for back-tabbing.


As to ShiftTab I don't believe that is supported. It will Tab backwards if you press backspace so you can move between indentation levels reasonably well.
User IP Logged

bplus
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 1256
xx Re: Auto-Indenting
« Reply #4 on: Jan 9th, 2018, 08:53am »

OK I guess that is way it worked with JB v1.01, funny I never noticed shift + tab before and just automatically used backspace.

Sorry, I must have confused it with another editor with real Auto Indenting I've been using lately.
« Last Edit: Jan 9th, 2018, 08:57am by bplus » User IP Logged

B+
bplus
Senior Member
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 1256
xx Re: Auto-Indenting
« Reply #5 on: Jan 10th, 2018, 10:57am »

Notepad++ is excellent tool to work with JB code!

Not just block indentations and undo them, can do the same with case and PLUS a Spell Checker!

I think you can add custom language extensions as well, something to check out.
User IP Logged

B+
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Just BASIC wiki
Wikispaces

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls