[Implemented] Auto Edit OFF

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

[Implemented] Auto Edit OFF

Post by LJ »

Purebasic modifies a line instantly, this is a problem.

For example, anytime a quote is removed, the entire line any words or, and, not, to or anyother purebasic command instantly Uppercase the first letter. Then when you put the quote back, you must go and undo all these first letter caps that Purebasic did.

Now that Purebasic has over 600 commands, this is becoming more of a pain when modifying a line of code that has quotes.

Suggestions: do not let PureBasic modify a line until the down key, or enter key is pressed. This way, quotes can be removed or put back on without the entire line being modified with capital letters.

Another suggestions: give the user an Auto Edit OFF flag that can turn this feature of Purebasic off and perhaps be replaced by line modification after the enter of down arrow is pressed.

For example: I want to modify this line:

Code: Select all

ToolTipHandle7 = AddButtonToolTip(lesson5,"Complex Numbers"+l$+l$+"The system C of complex numbers...")
Now I want to replace the text in this line, and also, there is no second line so I want to take out the l$ as well. Because Purebasic is so aggressive in its formating, if I take off one of these quotes, the text on the rest of the line will INSTANTLY be modified which means some things are going to be capitalized that I don't want.

Better would be if I could turn Auto Edit OFF so that Purebasic does not modify this line until I hit ENTER or the down arrow. This way I can remove and replace quotes all I want and Purebasic will not make any automatic changes until I hit ENTER or move the cursor off the line.
Thade
Enthusiast
Enthusiast
Posts: 266
Joined: Sun Aug 03, 2003 12:06 am
Location: Austria

Post by Thade »

Not 100% sure - but I guess that happens with every Editor in any language (Delphi, Jamagic, DarkBasicPro, BlitzBasic...)
Every change of that would make the Editor slower - and has more disadvantages than advantages.

You do not have to delete the quotes one at a time if you want to put theses 2 lines together. Just highlight the 2 quotes and the l$s between and hit Space or Delete as needed - that does the job without changing the complete system.
--------------
Yes, its an Irish Wolfhound.
Height: 107 cm; Weight: 88 kg
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

try jaPBe (see Announcement).

In the preferences you can deaktivate the autocase (without deactivating the coloring).

GPI
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

Wow

Post by LJ »

@GPI,

Now that's what I'm talking about, deactivating the auto-case stuff.

I've got to try jaPBe. My fiance really likes the acronym and what it stands for. We were looking at it a few weeks ago. Looks great.
Post Reply