I’m currently experimenting with Todo.txt, and I want to select lines that do not contain @tags or +projects. I thought to highlight all lines with @ symbols and + symbols then wondered if there was a way to select the lines that are not selected. Does anyone know if this is built-in to Sublime Text or will I need to write something to make it happen? I’m slowly learning code. Would I have to write a regex?
Select Lines That Are Not Selected
OdatNurd
#2
The menu command Selection > Invert Selection
may do what you want here; as the name suggests it flips the selection so that anything that is selected is not selected and vice versa.
1 Like
Thank you, @OdatNurd. Invert Selection
is what I’m looking for. I was running into a problem using this at first, but I figured out I need to highlight selected lines along with a return for each line in order for it to select the lines I wanted.
0 Likes