Is RangeHighlighter can do it?

Hi,
I'm have some questions first of all to developers of IDEA:

Can RangeHighlighter be used for setting foreground color of text(font color)?
Which layer indexes can be used by plugin to avoid intersect with system and other problems?

I'm using default IDEA editor returned by factory for text files. Implement own editor is little overhead in my case and looks like based on OpenAPI it's very difficult for now.

TIA,
Dmitry

3 comments

Thanks to Alexey Efimov!
It was HighlightLayer :)

TIA,
Dmitry

0

Hi, I wonder if you looked/tried for possible hilighting effects into
com.intellij.openapi.editor.markup.TextAttributes, foreground color is
present there also

Dmitry Kashin wrote:

Hi,
I'm have some questions first of all to developers of IDEA:

Can RangeHighlighter be used for setting foreground color of text(font color)?
Which layer indexes can be used by plugin to avoid intersect with system and other problems?

I'm using default IDEA editor returned by factory for text files. Implement own editor is little overhead in my case and looks like based on OpenAPI it's very difficult for now.

TIA,
Dmitry



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Hi,
I'm use it from the beginning but layer index issues was the reason of wrong plugin working. You first JetBrains developer (if I right) responses me, thanks.

TIA,
Dmitry

0

Please sign in to leave a comment.