Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/NotepadNext/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"build/"
3 changes: 3 additions & 0 deletions src/scintilla/src/Editor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4954,6 +4954,9 @@ void Editor::ButtonDownWithModifiers(Point pt, unsigned int curTime, KeyMod modi
void Editor::RightButtonDownWithModifiers(Point pt, unsigned int, KeyMod modifiers) {
if (NotifyMarginRightClick(pt, modifiers))
return;
// if the pt is not in the selected region we clear the selection and move the caret to the new right click
if (!PointInSelection(pt))
SetEmptySelection(SPositionFromLocation(pt));
}

bool Editor::PositionIsHotspot(Sci::Position position) const noexcept {
Expand Down