Page 1 of 1

[Implemented] Auto Edit OFF

Posted: Sat Aug 02, 2003 10:51 pm
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.

Posted: Sun Aug 03, 2003 4:55 pm
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.

Posted: Sun Aug 03, 2003 5:21 pm
by GPI
try jaPBe (see Announcement).

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

GPI

Wow

Posted: Tue Aug 05, 2003 5:58 am
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.