ScottMattes
Member³
PLSD v 10.0.5
In Preferences / User Interface / Editor I have Smart tab checked and Tab size set to 1, but when I use the tab key I am getting really wild results (or, I don't understand what is going on).
For testing this I place a ruler line (60 characters long) just above a line of text. After doing the tests I tried it with an equally long line of just alpha characters and got the same results.
Lines numbers in the following examples mean nothing, except to give an idea of the number of lines selected.
Column numbers in the following examples mean nothing, other than to show before/after cursor positioning.
1) I placed the cursor on a line at column 10 and press the tab key and the cursor and text was shifted to column 29! Pressed the tab key again and now the cursor is at 52. Press the tab key again and now the cursor is at 55.
2) I selected line 10 starting at column 5 through line 11 at column 20. Press the tab key and both the lines move 2 character to the right. Every time.
3) select lines 5 at column 1 through 7 to the eol (3 complete lines. Press the tab key and the selected lines move 2 characters at a time - just like #2.
#1 is just plain weird and random (like maybe the editor control being used has these tabs preset and setting the tab size isn't changing them.
#2 and #3 are ignoring my tab size setting (I also tried with tab size set to 4 and still the cursor moves 2 characters).
The only setting that might be involved in #2 and #3 is the Step (chars) value, which I have set to 2. I thought that this setting pertained to the Indent function. After changing that to 1 now #2 and #3 work as expected, but now when I type an IF/THEN/ELSE when I press the Enter key the next line is indented by only 1 character.
In Preferences / User Interface / Editor I have Smart tab checked and Tab size set to 1, but when I use the tab key I am getting really wild results (or, I don't understand what is going on).
For testing this I place a ruler line (60 characters long) just above a line of text. After doing the tests I tried it with an equally long line of just alpha characters and got the same results.
Lines numbers in the following examples mean nothing, except to give an idea of the number of lines selected.
Column numbers in the following examples mean nothing, other than to show before/after cursor positioning.
1) I placed the cursor on a line at column 10 and press the tab key and the cursor and text was shifted to column 29! Pressed the tab key again and now the cursor is at 52. Press the tab key again and now the cursor is at 55.
2) I selected line 10 starting at column 5 through line 11 at column 20. Press the tab key and both the lines move 2 character to the right. Every time.
3) select lines 5 at column 1 through 7 to the eol (3 complete lines. Press the tab key and the selected lines move 2 characters at a time - just like #2.
#1 is just plain weird and random (like maybe the editor control being used has these tabs preset and setting the tab size isn't changing them.
#2 and #3 are ignoring my tab size setting (I also tried with tab size set to 4 and still the cursor moves 2 characters).
The only setting that might be involved in #2 and #3 is the Step (chars) value, which I have set to 2. I thought that this setting pertained to the Indent function. After changing that to 1 now #2 and #3 work as expected, but now when I type an IF/THEN/ELSE when I press the Enter key the next line is indented by only 1 character.