Author Topic: Questions to Higlight Search  (Read 839 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Questions to Higlight Search
« on: April 29, 2009, 04:00:35 pm »
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?


.
« Last Edit: April 29, 2009, 04:08:15 pm by Stefan »
Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Questions to Higlight Search
« Reply #1 on: April 29, 2009, 04:37:50 pm »
Quote
1.)   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.

Quote
2.) 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.

Quote
3.) 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 :)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Re: Questions to Higlight Search
« Reply #2 on: July 29, 2009, 04:30:11 pm »
1.)
Bump:
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
« Last Edit: July 29, 2009, 04:53:55 pm by Stefan »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Questions to Higlight Search
« Reply #3 on: July 29, 2009, 07:40:16 pm »
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.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Re: Questions to Highlight Search
« Reply #4 on: July 30, 2009, 04:32:18 pm »
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...)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Questions to Higlight Search
« Reply #5 on: August 01, 2009, 12:21:22 am »
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?...

Quote
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?
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.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
318 Views
Last post April 21, 2009, 03:01:39 pm
by Arthur
6 Replies
947 Views
Last post June 03, 2009, 11:08:53 pm
by alex
9 Replies
1893 Views
Last post March 31, 2010, 01:41:05 pm
by zhouzh2
3 Replies
471 Views
Last post August 11, 2010, 01:33:42 pm
by alex
3 Replies
225 Views
Last post September 08, 2011, 10:59:15 am
by alex