Claus Pedersen
Member³
I have the following code snippet in a program window (note: the two spaces before 'PROCEDURE' is important:
I am using Keyword case = Uppercase and have assigned shortcut keys to the functions Edit->Selection->Lowercase and .. ->Apply Syntax Case.
The shortcut keys are: Shift-Ctrl-L and Shift-Ctrl-S, respectively.
I mark the two lines and press the shortcut key for lowercase followed by the shortcut key for syntax case.
This works as expected: first all code is made lowercase and afterwards syntax case is applied, so it looks like in the supplied code example above.
But if I press the two shortcut keys in quick succession, the result is unpredictable. The keywords in first line are uppercase, while the keywords in line two are left lowercase, like this:
If I remove the two spaces before the keyword "procedure", I get another result after pressing the two shortcut keys in rapid order. Now the name of the table and column are made uppercase (!):
Please fix this error.
Maybe this bug is related to the error that keyword case is not always made uppercase, if you type too quickly:
Bug: when using keyword case uppercase, the editor can be too slow to keep up with the user's speed
Code:
PROCEDURE my_proc (p1 IN OUT NOCOPY my_table.my_column%TYPE,
p2 IN OUT NOCOPY my_table.my_column%TYPE) IS
I am using Keyword case = Uppercase and have assigned shortcut keys to the functions Edit->Selection->Lowercase and .. ->Apply Syntax Case.
The shortcut keys are: Shift-Ctrl-L and Shift-Ctrl-S, respectively.
I mark the two lines and press the shortcut key for lowercase followed by the shortcut key for syntax case.
This works as expected: first all code is made lowercase and afterwards syntax case is applied, so it looks like in the supplied code example above.
But if I press the two shortcut keys in quick succession, the result is unpredictable. The keywords in first line are uppercase, while the keywords in line two are left lowercase, like this:
Code:
PROCEDURE my_proc (p1 IN OUT NOCOPY my_table.my_column%TYPE,
p2 in out nocopy my_table.my_column%type) is
If I remove the two spaces before the keyword "procedure", I get another result after pressing the two shortcut keys in rapid order. Now the name of the table and column are made uppercase (!):
Code:
PROCEDURE my_proc (p1 IN OUT NOCOPY my_table.my_column%TYPE,
p2 IN OUT NOCOPY MY_TABLE.MY_COLUMN%TYPE) IS
Please fix this error.
Maybe this bug is related to the error that keyword case is not always made uppercase, if you type too quickly:
Bug: when using keyword case uppercase, the editor can be too slow to keep up with the user's speed