texstudio
texstudio copied to clipboard
Enhance creating bookmarks
Describe the feature and the current behavior/state
Left to the linenumbers of the document is an area where a click creates a bookmark. But with documents with thousands of lines it is not quite clear where this area is. Images show the same document. I tried to depict the area with read lines:
In the case above about 50% of the area between center bar and line numbers can't be clicked for bookmarks. Moving the pointer as close as possible to the center tool may end up in clicking a tool instead of creating a bookmark. So creating the bookmark is more strenuous.
Maybe you could make this area more visible in some way, for example with the two lines. Or the columns for bookmarks and line numbers could be interchanged (s. notepad++). Thus both columns would always stay a constant distance from the text area away.
Who will benefit with this feature?
People using line numbers and bookmarks for large documents.
Maybe a darker background color on it...
i would rather make the line number part change booksmarks as well. No real need that the cursor jumps to the line instead.
@sunderme I like your idea not to move the cursor when creating a bookmark, because this is sometimes not what I want. Using the numbers at first glance might be good, too. But if I want the cursor at the beginning of a specific line for some purpose it would be easier to click on the number (as it is currently). But I would recommend interchanging both columns as said before. Just let me clarify the reason with two images from documents of different size:
Doc w, 20 Lines:
Doc with 1000 lines:
The distance between mark and text is depending of the documentsize (increasing with number of digits of largest line number). I think in this way the eye can better correlate text line and both line number and bookmark.
One note: There might be no line numbers at all or only important ones. And following image the area is quite not clear also:
Further note: This column shows both bookmarks and Error Log Markers.
Further note: standard behaviour should be that a left mouse key click sets/removes a bookmark and also moves the cursor at the beginning of this line. Since a right mouse key click opens a bookmark menu, I'm looking for another way to set/remove a bookmark without moving the cursor. @sunderme Could a double click with the left mouse key be that way?
solved by changing cursor shape over the linemarkpanel 65203ccd8a7806289c4529c117d578d3d5626033