Ahh, thanks again I was using print copied from another macro.
That no smart indent flag isn't in the help file for the write function by the way.
Search found 20 matches
- Thu Nov 03, 2005 11:26 am
- Forum: General
- Topic: Store, turn off and restore SmartIndent from macro
- Replies: 2
- Views: 10208
- Thu Nov 03, 2005 10:49 am
- Forum: General
- Topic: Store, turn off and restore SmartIndent from macro
- Replies: 2
- Views: 10208
Store, turn off and restore SmartIndent from macro
Is there a way to store, turn off and restore the SmartIndent mode from a macro.
I'm attempting to insert a comment in the style, note the leading space prior to the */:
/*
*
*/
When I have smart indent turned on the line following the */ get indented one space, so I'd like to control the ...
I'm attempting to insert a comment in the style, note the leading space prior to the */:
/*
*
*/
When I have smart indent turned on the line following the */ get indented one space, so I'd like to control the ...
- Wed Nov 02, 2005 11:33 am
- Forum: Reporting a Bug
- Topic: MoveDocumentStartEx kicking in even with control key pressed
- Replies: 2
- Views: 11836
I've figured it out...
It is not auto-repeat, but my macro includes a call to MoveDocumentStartEx. The intention was to move to the start of the line prior to inserting the comment. As I was also pressing home to move to the line start myself, that resulted in two calls to MoveDocumentStartEx. I'll ...
It is not auto-repeat, but my macro includes a call to MoveDocumentStartEx. The intention was to move to the start of the line prior to inserting the comment. As I was also pressing home to move to the line start myself, that resulted in two calls to MoveDocumentStartEx. I'll ...
- Mon Oct 31, 2005 2:51 pm
- Forum: General
- Topic: Macroing documentation
- Replies: 7
- Views: 18873
Ha ha well I knew I was being cheeky, I don't normally expect people to write my macros for me, I just thought it would take five minutes to add that versus half an hour for me to figure it out. The function descriptions could do with some expansion in places.
A few things that would have made this ...
A few things that would have made this ...
- Mon Oct 31, 2005 1:41 pm
- Forum: Reporting a Bug
- Topic: MoveDocumentStartEx kicking in even with control key pressed
- Replies: 2
- Views: 11836
MoveDocumentStartEx kicking in even with control key pressed
I have Home mapped to MoveDocumentStartEx.
I have Ctrl+Home mapped to an insert comment macro.
If I press Home, to move to line start, then Ctrl+Home to insert the comment the cursor moves to the top of the page an inserts the comment there, instead of at the beggining of the original line.
It ...
I have Ctrl+Home mapped to an insert comment macro.
If I press Home, to move to line start, then Ctrl+Home to insert the comment the cursor moves to the top of the page an inserts the comment there, instead of at the beggining of the original line.
It ...
- Mon Oct 31, 2005 11:20 am
- Forum: Comments and Suggestions
- Topic: Search Next not working when search dialog has focus
- Replies: 1
- Views: 10032
Search Next not working when search dialog has focus
I often (try) to do the following.
Press F5 to bring up search box.
Type in string to search for (Edit line gets focus).
Press Enter to search.
So far so good the first item is then found.
Press Shift-F5 to search for next.
This doesn't work.
I have to move focus to the main window - using the ...
Press F5 to bring up search box.
Type in string to search for (Edit line gets focus).
Press Enter to search.
So far so good the first item is then found.
Press Shift-F5 to search for next.
This doesn't work.
I have to move focus to the main window - using the ...
- Mon Oct 31, 2005 9:42 am
- Forum: General
- Topic: Macroing documentation
- Replies: 7
- Views: 18873
- Tue Oct 25, 2005 2:22 pm
- Forum: Reporting a Bug
- Topic: Whitespace foreground colour
- Replies: 4
- Views: 15740
- Tue Oct 25, 2005 1:36 pm
- Forum: Reporting a Bug
- Topic: Whitespace foreground colour
- Replies: 4
- Views: 15740
Whitespace foreground colour
When displaying whitespace, using View -> Whitespace the characters used to display the white space are not displayed in the forgeround colour set in the Colour Options for Whitespace data.
It looks like it is using the delimiter colour instead. Even for the double >> character showing spaces ...
It looks like it is using the delimiter colour instead. Even for the double >> character showing spaces ...
- Tue Oct 25, 2005 10:35 am
- Forum: General
- Topic: Indenting and moving over indents
- Replies: 6
- Views: 16498
- Tue Oct 25, 2005 8:32 am
- Forum: General
- Topic: Indenting and moving over indents
- Replies: 6
- Views: 16498
- Tue Oct 25, 2005 8:16 am
- Forum: General
- Topic: Macroing documentation
- Replies: 7
- Views: 18873
- Mon Oct 24, 2005 3:46 pm
- Forum: General
- Topic: Macroing documentation
- Replies: 7
- Views: 18873
Macroing documentation
Hi I'm trying to find the macroing documentation the help says it should be here:
http://www.zeusedit.com/archives
Specifically I'm looking to do a something like:
SearchReplace (search="^\t", replace="\t\t", RegExp=true, selection=true, All)
Now I can see the functions to set the search and ...
http://www.zeusedit.com/archives
Specifically I'm looking to do a something like:
SearchReplace (search="^\t", replace="\t\t", RegExp=true, selection=true, All)
Now I can see the functions to set the search and ...
- Mon Oct 24, 2005 2:12 pm
- Forum: General
- Topic: Indenting and moving over indents
- Replies: 6
- Views: 16498
Indenting and moving over indents
Our software house style for indienting is like this
if (i == 0)
{
i = i + 1;
}
else
{
i = i - 1;
}
I'm currently working with the smart indent and smart bracing turned off. I have a tab size of 4 and have tried the following with indent size of 0 and 4.
When I'm coding like the above ...
if (i == 0)
{
i = i + 1;
}
else
{
i = i - 1;
}
I'm currently working with the smart indent and smart bracing turned off. I have a tab size of 4 and have tried the following with indent size of 0 and 4.
When I'm coding like the above ...
- Mon Oct 24, 2005 8:54 am
- Forum: General
- Topic: Export and import of key mappings
- Replies: 1
- Views: 7873
Export and import of key mappings
Hi,
Is it possible to export the BriefEx keymappings and re-import them under a different name ?
If so could you explain step by step ?
Or is this just a backup and restore option ?
I've been trying to do this and struggling, I want to adapt the BriefEx mapping to my own use rather than ...
Is it possible to export the BriefEx keymappings and re-import them under a different name ?
If so could you explain step by step ?
Or is this just a backup and restore option ?
I've been trying to do this and struggling, I want to adapt the BriefEx mapping to my own use rather than ...