MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / TentativeSelection

Method TentativeSelection

scintilla/src/Selection.cxx:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308void Selection::TentativeSelection(SelectionRange range) {
309 if (!tentativeMain) {
310 rangesSaved = ranges;
311 }
312 ranges = rangesSaved;
313 AddSelection(range);
314 TrimSelection(ranges[mainRange]);
315 tentativeMain = true;
316}
317
318void Selection::CommitTentative() {
319 rangesSaved.clear();

Callers 2

ButtonDownMethod · 0.80
ButtonMoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected