[quote=“vitaLee”]is it a default behaviour for Sublime to add icon in the gutter for each line of a multiline underlined (mouthful) region, or it’s something you control?
i found myself exploitinhg BH2 in attempt to match Obj-C @interface @implementation directives and noticed if i use style:underline for each line of the opening “bracket” there’s an icon in gutter, while the same is not true for outline, solid (icon only on first line).[/quote]
Underline is a trick. It isn’t like a normal region. There is no underline style really. There is an option in Sublime that says if a region is size 0, you can render it as an underline. So, to simulate an underline region, I take region X, Y and break it up into a series of zero size regions. So really an underline (y-x) regions, not one. That is why multi-line will show multiple icons. Because each underlined character is its own region.