Cursor and vertical line?
-
Hi All,
Version 8.6.4
I have inputted multiple vertical edges in the settings. However, they do not appear. I get a cursor and immediately to the left, I have a red vertical line. I have searched through the settings and preferences to no avail. Does anyone know how to turn it off?
Image below shows
(1) - red line (which I want to remove to hopefully display the vertical edges)
(2) - vertical edge settings (which do not display)Thank you!
-
@jaime-h ,
It looks like your version is at least slightly out of date (v8.6.4 was the last with the Vertical Edge Settings text like that, rather than as a ? button) – v8.6.7 and v8.6.8 look like:
I don’t remember any recent bugs in the Vertical Edge feature, so I don’t think there have been any recent Changes in the actual feature (aside from the GUI text), but I rarely use that feature, so I might have just not paid attention.
When I put the columns at 60 and 80 (as shown in my screenshot), they both show. Yours is 80 and 300, but you don’t show a screen 300 characters wide, so I’m not sure how you expect to see it. It isn’t influenced by line-wrap, so you have to scroll (or zoom) until character 300 in order to see it. Here’s a zoomed-out screenshot with 100, 200, 300:
As to yours being red, check Settings > Style Configurator > Language:
Global Styles
> Style:Edge colour
, and look at the Foreground colour, which in a defaultstylers.xml
is cyan. Maybe yours is red.If that’s not it, maybe you have a plugin which is showing a red line there. Without seeing your list of plugins (from ? > Debug Info), my guess would be ColumnTools or Columns++, though I don’t know if those normally use red for their column indicator or not.
-
Apologies, I should have been more clear. The red line is where my cursor is and thought that the cursor and the line were tied together. Work computer so version is not dictated by me :/
Upon reading your suggestion, I did see a Columns Tools plugin, which was enabled with Column highlight. I disabled and went back in to both preferences and style configurator to re-enable, which turned them back on. My guess, is that plugin was stepping on the vertical edge settings.
Here is the setting for future queries, which I turned off.
Thanks for your line of thought Peter, much appreciated.
-
@jaime-h said in Cursor and vertical line?:
Columns Tools plugin
Column Tools is not compatible with a stationary edge line due to the Scintilla API. There is no such thing in Scintilla as a vertical highlight, so I used the edge line to “fake one”. I thought with multi edge Scintilla API it could have been possible, but when that was released, the necessary calls were not there.
You either use “column highlight” and the edge follows the caret, or you use Notepad++ settings to get edge(s) stationary.
Cheers.