TextMarker icon indicating copy to clipboard operation
TextMarker copied to clipboard

Marking with the same color

Open oren0e opened this issue 6 years ago • 3 comments

Hi,

I want to be able to use this plugin as a simple marker with Sublime text 3, so basically I want to highlight as many lines/words as I choose with the same color. How do I do that? I didn't manage to work this out in the settings.

If I specify this in the Text-Marker settings:

{
	"user": {
		"live": false,
		"default_colors": ["darkgoldenrod"
		]
	}
}

Then I get it highlights the first line in my chosen color, the next line with gray, and if I want to highlight a third line, it removes the previous highlights. I want to keep them and them to be the same color as I chose (the dark gold one).

oren0e avatar Jun 25 '19 09:06 oren0e

Sounds like an interesting idea... currently, unfortunately, this can’t be done. The plugin was designed to mark all selections in a file; you can also use multi-select (selecting multiple regions or multiple lines) at the same time and mark them all with the same color.

With your requested feature, would you want it to continue to highlight every line that is the same in the whole file? or just the single line you highlighted?

Kronuz avatar Jun 25 '19 11:06 Kronuz

I would like to highlight as many lines as I want in the file and the lines can be different. Just as you would highlight sections, sentences when you're reading an article for example.

I think that you can allow in the options for some sort of "manual mode" that will enable the above functionality, and for this mode off then it will behave similar to how it is now. Just an idea.

Thanks!

oren0e avatar Jun 25 '19 11:06 oren0e

Now, by configuring text marker setting file, user can define at least 10+ colors and mark accordingly in order. pls check updated readme.

rwxguo avatar Aug 11 '20 15:08 rwxguo