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

Method FilterSelections

scintilla/src/Editor.cxx:4079–4086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4077}
4078
4079void Editor::FilterSelections()
4080{
4081 if ( !additionalSelectionTyping && ( sel.Count() > 1 ) ) {
4082 SelectionRange rangeOnly = sel.RangeMain();
4083 InvalidateSelection ( rangeOnly, true );
4084 sel.SetSelection ( rangeOnly );
4085 }
4086}
4087
4088static bool cmpSelPtrs ( const SelectionRange *a, const SelectionRange *b )
4089{

Callers

nothing calls this directly

Calls 2

CountMethod · 0.45
SetSelectionMethod · 0.45

Tested by

no test coverage detected