Search found 20 matches

by martinlooker
Thu Nov 03, 2005 11:26 am
Forum: General
Topic: Store, turn off and restore SmartIndent from macro
Replies: 2
Views: 10208

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.
by martinlooker
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 ...
by martinlooker
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 ...
by martinlooker
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 ...
by martinlooker
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 ...
by martinlooker
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 ...
by martinlooker
Mon Oct 31, 2005 9:42 am
Forum: General
Topic: Macroing documentation
Replies: 7
Views: 18873

Thanks for the above it is my most needed macro!

If I can just be cheeky and ask is there a way to then re-mark the text that is pasted into the document with the MarkPaste function so I can run this macro repeatedly ?
by martinlooker
Tue Oct 25, 2005 2:22 pm
Forum: Reporting a Bug
Topic: Whitespace foreground colour
Replies: 4
Views: 15740

What I was hoping to do was make the paragraph, space and tab whitespace characters show up in a very pale grey, so I could see them but so they were not so noticeable.

Anyway take this a suggestion for a future version, use the existing whitespace foreground colour to display the whitespace ...
by martinlooker
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 ...
by martinlooker
Tue Oct 25, 2005 10:35 am
Forum: General
Topic: Indenting and moving over indents
Replies: 6
Views: 16498

I played with this a little more, its not quite respecting this style of indenting.

If I work as described above that is fine for adding new brace sets. But if I have to add a new line just after an existing, already indented, { then I get that extra indent as in my example above.

I can live ...
by martinlooker
Tue Oct 25, 2005 8:32 am
Forum: General
Topic: Indenting and moving over indents
Replies: 6
Views: 16498

Thanks for that I get it now <smacks head>

I was typing
if () [ENTER] [TAB] { [ENTER] ...

Which resulted in


if ()
{
|
}


That TAB before the brace then seems to cause the extra indentation for the text within the brace, I just need to leave that out and trust Zeus to do it for me, I guess ...
by martinlooker
Tue Oct 25, 2005 8:16 am
Forum: General
Topic: Macroing documentation
Replies: 7
Views: 18873

Thanks for your help, again and on the tabbing issue, I'll try out the suggestion above.

I was hoping to do something like the following, (it only just occurred to me to use the keyboard functions to set the sensitivities etc)

SaveSearchOptions
SearchCaseSensitivitySet
SeearchRegExpSet ...
by martinlooker
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 ...
by martinlooker
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 ...
by martinlooker
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 ...