MCPcopy Create free account
hub / github.com/Rezonality/zep / SetSelection

Method SetSelection

src/buffer.cpp:1135–1142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1133}
1134
1135void ZepBuffer::SetSelection(const GlyphRange& selection)
1136{
1137 m_selection = selection;
1138 if (m_selection.first > m_selection.second)
1139 {
1140 std::swap(m_selection.first, m_selection.second);
1141 }
1142}
1143
1144void ZepBuffer::AddRangeMarker(std::shared_ptr<RangeMarker> spMarker)
1145{

Callers 1

UpdateVisualSelectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected