Line Highlighting

Objective Edit now provides a way to color highlight a line. Highlighting a line is very similar to adding a bookmark in that it acts by adding the data flag ID_SECEDIT_ITEMDATA_HIGHLIGHT to the line. You also need to define a color group for highlighting in the .ini file. Here is an example:

 

[Highlight]

Foreground = 255,255,255

Background = 128,0,0

DisplayName = Highlight

This color group only needs three lines:

  1. Foreground defines the foreground color of the highlighted line.

  2. Background defines the background color of the highlighted line.

  3. DisplayName has to be “Highlight” in order to be recognized by SECEditLangConfig.

A new command ID has been added for toggling the highlight flag: ID_SECEDIT_HIGHLIGHT_TOGGLE