Hi Jussi,
I wanted to change the behaviour of the shift+tab so that if several lines are marked, the lines will move one tab backwards, even if the cursor is in the middle of the line ( and not before the first non blank character).
The macro below should do it and works perfectly as long as I ...
Search found 14 matches
- Wed Dec 20, 2006 2:21 pm
- Forum: Reporting a Bug
- Topic: Problem when assigning shift+Tab to a macro
- Replies: 1
- Views: 10135
- Tue Dec 19, 2006 7:30 am
- Forum: Comments and Suggestions
- Topic: Backspace when text is marked
- Replies: 3
- Views: 15994
Hi Jussi,
I am used to deleting the marked text left of the cursor using the "backspace" key. In Word or any editor I know only the marked text is deleted and not the character at left of it. But after testing my macro again I decided that the speed is OK - the last time I checked it I had to many ...
I am used to deleting the marked text left of the cursor using the "backspace" key. In Word or any editor I know only the marked text is deleted and not the character at left of it. But after testing my macro again I decided that the speed is OK - the last time I checked it I had to many ...
- Mon Dec 18, 2006 2:22 pm
- Forum: Comments and Suggestions
- Topic: Backspace when text is marked
- Replies: 3
- Views: 15994
Backspace when text is marked
Hi Jussi,
I did not know if to put it under "bugs" or "suggestions":
If you mark with the mouse several characters and then press the "Backspace" key the character left to the marked text is also deleted. :o :shock:
This is not very intuitive. I tried to replace the Backspace key by a macro - but ...
I did not know if to put it under "bugs" or "suggestions":
If you mark with the mouse several characters and then press the "Backspace" key the character left to the marked text is also deleted. :o :shock:
This is not very intuitive. I tried to replace the Backspace key by a macro - but ...
- Sun Dec 17, 2006 4:41 pm
- Forum: Reporting a Bug
- Topic: get_marked_left() does not return 1
- Replies: 1
- Views: 10193
get_marked_left() does not return 1
Hi Jussi,
Here is the description how to recreate the bug:
1) Move the cursor to a column that is not the first one on the line
2) Press alt-L to mark the line
3) Press the down arrow to mark a second line and stay in the same column in the line that is not the first column
4) Press a key that ...
Here is the description how to recreate the bug:
1) Move the cursor to a column that is not the first one on the line
2) Press alt-L to mark the line
3) Press the down arrow to mark a second line and stay in the same column in the line that is not the first column
4) Press a key that ...
- Sun Dec 17, 2006 4:33 pm
- Forum: General
- Topic: Column Paste
- Replies: 2
- Views: 10525
A way around the problem
I have encountered the same problem. Here is my solution:
Replace the copy by the script:
local mode = get_marked_mode()
if ( mode==0 ) then
set_global_string("sel_status","COLM")
else
set_global_string("sel_status","LINE")
end
MarkCopy()
Replace the cut by a similar script.
When you want ...
Replace the copy by the script:
local mode = get_marked_mode()
if ( mode==0 ) then
set_global_string("sel_status","COLM")
else
set_global_string("sel_status","LINE")
end
MarkCopy()
Replace the cut by a similar script.
When you want ...
- Thu Dec 14, 2006 7:31 am
- Forum: Code Folding
- Topic: Folding in FORTRAN - EXTERNAL
- Replies: 1
- Views: 30719
Folding in FORTRAN - EXTERNAL
The EXTERNAL keyword should not cause any folding in FORTRAN - it is a declaration and has no end - it is a single line command
- Thu Dec 14, 2006 7:29 am
- Forum: General
- Topic: Cancel in "user_input"
- Replies: 1
- Views: 8372
Cancel in "user_input"
How do I check in a mcro if the user pressed Cancel in a dialog created by "user_input"?
By the way - did you succeed to recreate the bug were the program returned a wrong left marked column - as I described in response to you?
By the way - did you succeed to recreate the bug were the program returned a wrong left marked column - as I described in response to you?
- Fri Dec 08, 2006 8:20 am
- Forum: General
- Topic: Checking in a macro if a line or 1 column is selected
- Replies: 5
- Views: 15569
- Thu Dec 07, 2006 6:24 am
- Forum: General
- Topic: Checking in a macro if a line or 1 column is selected
- Replies: 5
- Views: 15569
- Wed Dec 06, 2006 5:28 pm
- Forum: Reporting a Bug
- Topic: Status line not updated after set_editor_option("ModeIn
- Replies: 2
- Views: 11610
Status line not updated after set_editor_option("ModeIn
In a macro if I use "set_editor_option("ModeInsert",ins)" the status line is not updated i.e. the Insert mode status in the line is left as it was although the insert mode is changed as requested
- Wed Dec 06, 2006 5:23 pm
- Forum: General
- Topic: Checking in a macro if a line or 1 column is selected
- Replies: 5
- Views: 15569
Checking in a macro if a line or 1 column is selected
In a macro if I use "get_marked_left()" and the whole line is selected I do not get 1 as an answer - but the column where the user was when he marked the line with "MarkLineToggle". Is there any way to check if the whole line is marked?
- Sun Dec 03, 2006 7:20 am
- Forum: Code Folding
- Topic: Folding in FORTRAN for IF without THEN
- Replies: 2
- Views: 34385
Thank you
Hi jussi,
Thanks for the very fast fix. It works now perfectly
Thanks for the very fast fix. It works now perfectly
- Wed Nov 29, 2006 2:29 pm
- Forum: Comments and Suggestions
- Topic: Runing a macro in a template
- Replies: 2
- Views: 12560
Runing a macro in a template
It would be very usefull if I could enter a macro name in the definition of a template. This should enable me more sofisticated templates.
- Wed Nov 29, 2006 2:25 pm
- Forum: Code Folding
- Topic: Folding in FORTRAN for IF without THEN
- Replies: 2
- Views: 34385
Folding in FORTRAN for IF without THEN
I am now evaluating the program and I like it very much.
I have found a problem in the folding that does not let me use it in FORTRAN in many files. In FORTRAN you can use a single line IF without THEN and ENDIF. Something like: IF ( ERROR ) EXIT . This confuses the folding. You should ignore IF's ...
I have found a problem in the folding that does not let me use it in FORTRAN in many files. In FORTRAN you can use a single line IF without THEN and ENDIF. Something like: IF ( ERROR ) EXIT . This confuses the folding. You should ignore IF's ...