Search results annotation doesn't show [message #290349] |
Wed, 24 August 2005 12:05 |
Eclipse User |
|
|
|
Originally posted by: vlad_dumitrescu.hotmail.com
Hi gurus,
I hit a blind spot, please help me see the solution to this.
I have implemented an editor, that extends TextEditor. Most of the things
like line numbers work, however there are some weird thigs:
- print line isn't visible (I tried different colors)
- search results annotations show in the vertical ruler, but they are
not highlighted -- might it be an effect of my syntax highlighter? how can I
configure it to not overwrite other highlightings?
- likewise, current line isn't highlighted, probably same reason as
above.
I am grateful for any help. Thanks in advance,
Vlad
|
|
|
|
Re: Search results annotation doesn't show [message #290387 is a reply to message #290352] |
Wed, 24 August 2005 18:50 |
Eclipse User |
|
|
|
Originally posted by: vlad_dumitrescu.hotmail.com
Thanks a lot for the tip, but it's something else. I tried that and it still
doesn't work.
What happens is that preferences that refer to the ruler or showing line
numbers work fine. Anything that refers to the editor area isn't, except
text/selection bg and fg.
I disabled the syntax highlighting, so it isn't interfering.
Where do I have to look?
/Vlad
"Tom Eicher" <eclipse@tom.eicher.name> skrev i meddelandet
news:dehq6l$crg$1@news.eclipse.org...
> You should probably override AbstractDecoratedTextEditor#initializeEditor
> and call AbstractTextEditor#setPreferenceStore with a
> ChainedPreferenceStore that reads through to the preference store obtained
> from EditorsUI.getPreferenceStore().
>
> -tom
>
> Vlad Dumitrescu wrote:
>> Hi gurus,
>>
>> I hit a blind spot, please help me see the solution to this.
>>
>> I have implemented an editor, that extends TextEditor. Most of the things
>> like line numbers work, however there are some weird thigs:
>> - print line isn't visible (I tried different colors)
>> - search results annotations show in the vertical ruler, but they are
>> not highlighted -- might it be an effect of my syntax highlighter? how
>> can I
>> configure it to not overwrite other highlightings?
>> - likewise, current line isn't highlighted, probably same reason as
>> above.
>>
>> I am grateful for any help. Thanks in advance,
>> Vlad
>>
|
|
|
|
Re: Search results annotation doesn't show [message #290420 is a reply to message #290411] |
Thu, 25 August 2005 11:35 |
Eclipse User |
|
|
|
Originally posted by: vlad_dumitrescu.hotmail.com
> You should check whether the SourceViewerDecorationSupport instance in
> AbstractDecoratedTextEditor support is configured properly.
Thanks! I had a nasty misspelling there, so it was the wrong object that was
configured... works like a charm now.
/Vlad
|
|
|
Powered by
FUDForum. Page generated in 0.03738 seconds