Disable some auto functions...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Michael Vogel
Addict
Addict
Posts: 2798
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Disable some auto functions...

Post by Michael Vogel »

Auto complete when using Undo/Redo:
When using the undo function multiple times, the work flow will be interrupted from time to time because the auto complete box will pop up and escape has to be pressed. I think, it would be more efficient, if the pop up will be blocked while using undo/redo.

Auto case correction (PB is so intelligent, what about making it genious?)
1) In some cases, PB does not correct the upper/lower case correctly, for example when editing variable names. Short variable and procedure names also don't get their correct case, but PB internal names work fine:

Code: Select all

Procedure Min(a,b)
	ProcedureReturn ...	
EndProcedure
Procedure Mini(a,b)
	ProcedureReturn ...	
EndProcedure

; all these lines have been entered in lower case, 'min' does not get a upper case 'M'...
a=min(1,2)
a=Mini(1,2)
a=Str(1)
2) When editing string constants by adding/removing quotation marks, everything can get horrible (because even undo fails here)

Code: Select all

; let's say, you have this code line...
Debug "I want to have the next PB version and it's IDE even more usable..."

; and want to change it to this...
a$="would like"
Debug  "I "+a$+" to have the next PB version and it's IDE even more usable..."
Last edited by Michael Vogel on Sat Aug 06, 2011 6:56 pm, edited 1 time in total.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Disablesom auto functions...

Post by Trond »

Auto complete when using Undo/Redo:
When using the undo function multiple times, the work flow will be interrupted from time to time because the auto complete box will pop up and escape has to be pressed.
The undo shortcut still works even when the autocomplete box is present, you don't have to close it.
User avatar
Michael Vogel
Addict
Addict
Posts: 2798
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Disablesom auto functions...

Post by Michael Vogel »

Trond wrote:
Auto complete when using Undo/Redo:
When using the undo function multiple times, the work flow will be interrupted from time to time because the auto complete box will pop up and escape has to be pressed.
The undo shortcut still works even when the autocomplete box is present, you don't have to close it.
Would be fine, but doesn't work here :!:

Write the following text, character by character:
GetUndo=#False

Now try to undo it by the assigned short cut (Alt-Backspace here), you won't be able to get rid of the autocomplete box
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Disablesom auto functions...

Post by MachineCode »

Michael Vogel wrote:Now try to undo it by the assigned short cut (Alt-Backspace here)
Alt+Backspace? Here, undo is Ctrl+Z, and it works fine with the AutoComplete box.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Michael Vogel
Addict
Addict
Posts: 2798
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Disablesom auto functions...

Post by Michael Vogel »

MachineCode wrote:
Michael Vogel wrote:Now try to undo it by the assigned short cut (Alt-Backspace here)
Alt+Backspace? Here, undo is Ctrl+Z, and it works fine with the AutoComplete box.
Ctrl+Z works also eith the visible autocomplete box, that's correct...
...Alt+Backspace not (so it seems, that a shortcut definition is missing somewhere)
Post Reply