Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the red arrow on the left of the line numbers in Sublime

Tags:

sublimetext3

see the red arrow on the left of the picture

What does the red arrow mean in Sublime Text editor between line 13 and 14?

like image 449
TerranGaming Avatar asked Mar 15 '19 08:03

TerranGaming


People also ask

How do I get line numbers in Sublime Text?

Just hit Ctrl + G , and it does the same steps for you!

What does yellow line mean in sublime?

That yellow line means that line 46 has had some modifications made to it, either since the last git commit or just since opening the file.

How do I open the console in Sublime Text?

Use Ctrl + ' to open the console. When Ctrl + ` is pressed, Sublime Text does not receive anything.


1 Answers

This appears to be a new feature in Sublime 3.2 called diff marker. The red arrow is one of three diff markers indicating that the line before this was deleted, the two others having to do with adding new lines or modifying existing ones.

From a simple experiment it seems the reference is the state of the file when you opened it in Sublime, but there is also a way to integrate it with Git version control.

Official source: https://www.sublimetext.com/docs/3/incremental_diff.html#diff_markers

like image 111
sindri_baldur Avatar answered Sep 21 '22 06:09

sindri_baldur