mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Hide the cursor when it is on a fold line
This commit is contained in:
@@ -177,4 +177,9 @@ class Cursor extends View
|
||||
if this == _.last(@editor.getCursors())
|
||||
@editor.scrollTo(pixelPosition)
|
||||
|
||||
if @editor.isFoldedAtScreenRow(screenPosition.row)
|
||||
@hide()
|
||||
else
|
||||
@show()
|
||||
|
||||
@selection.updateAppearance()
|
||||
|
||||
Reference in New Issue
Block a user