Questions to Higlight Search

Started by Stefan, April 29, 2009, 05:00:35 PM

Previous topic - Next topic

Stefan

1.)   to "Edit.SmartHighligt current word under cursor"
where can i set the color properties?




2.) to "Edit.HighlightSearch (Ctrl+Shift+H)" Highlight Search Result in Document
what does this feature?

I be able to use "Find > Mark Search Result in Text"   
and !QuickSearch > Highlight All"
but i don't see where (Ctrl+Shift+H)  should work.
If i press this after an search .... i see nothing happens?


3.) and what to do with "Color Schemes > Add..." ?
I can add an new color with an new name .... for what is this :D
Ahhh, i think for to use in syntax files, where i can use this new name?


.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Quote1.)   to "Edit.SmartHighligt current word under cursor"
where can i set the color properties?
I think I reuse Incremental Search 2 ... Probably was too lazy to create additional style for that :)
Would be added new beta.

Quote2.) to "Edit.HighlightSearch (Ctrl+Shift+H)" Highlight Search Result in Document
what does this feature?
By design, should turn Off/On highligting of last search results ... So your assumption was right. But does not work - bug. Would be fixed.

Quote3.) and what to do with "Color Schemes > Add..." ?
Ahhh, i think for to use in syntax files, where i can use this new name?
Yes :)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

#2
1.)
Bump:
Quote from: alex on April 29, 2009, 05:37:50 PM
I think I reuse Incremental Search 2 ... Probably was too lazy to create additional style for that :)
Would be added new beta.

--------------------------


2.)
Build 697:
Did Edit.SmartHighligt works for you?
My shortcut F9 or Ctrl-Click didn't work anymore... only QuickSearch do it.
Options->Code Completion->Smart Highlight is enabled
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hi Stefan,

Should work. I have checked by me - works.

Reason can be or non default color schema used or maybe configuration for Smart Highlight style of used syntax.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

Solved  ;D

Hi Alex,

you have introduce silently (at least i didn't notice it)

     <Style id="smart_highlight" name="Smart Highlight"
bold="2" italic="2" underline="2" clr="#FFFFFFFF" bkclr="Incremental Search Result 2" overview="1"/>    
 

into def_spec.xml, thanks.


I didn't notice this before since i didn't see new entry in "Options > Color Schemes".
(Where i expected it to change the color)

And since i didn't have updated the def_spec since i
had modified mine on my own... i didn't had this feature anymore.

After copying the above line into my def,... SmartHighlighting works again. Thanks.


1.) Will you please add code to extract "Smart Highlighting" settings from color_{color}.xml?
(currently we have  "Incremental Search 2" to modify, you was right)

2.) can you track modification on default XMLs into your update post
so we are informed what to check and decide what we want to update/merge?
Maybe you can provide an list of diffs? I will try this with free 'unix' diff.exe... and report back.


(BTW:
i have had
<Numbers>-+0-9a-fA-F.xXUL</Numbers>
in my def_spec ?
Was this an holdover from you? I can't imaging where this cames from...)
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

I think, I have noted this change some where in beta history :)

Quote.) Will you please add code to extract "Smart Highlighting" settings from color_{color}.xml?
(currently we have  "Incremental Search 2" to modify, you was right)
What do you mean? If you like you can add another color to schema and select it but not "Incremental Search 2" as background color for Smart Highlight?...

Quote2.) can you track modification on default XMLs into your update post
so we are informed what to check and decide what we want to update/merge?
I would try... Do not think that I would paste diffs... It would make all this history handling even more complex.. :) I would also try to do changes of the default files only when it is really necessary and put in update details if some critical modification were done. But also understand me - I am lazy :)

Quote<Numbers>-+0-9a-fA-F.xXUL</Numbers>
It is not in my def_spec any more. I have moved this to inherited schemes itself, because number definitions are different for different syntaxes.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]