Skip to content

How does one undo the effect of edbee::TextSearcher::markAll(...) ? #40

@SlySven

Description

@SlySven

As a result of issue #31 we gained the ability to mark without actual selection with (void) edbee::TextSearcher::markAll (TextRangeSet *rangeset) but as a newbie to using edbee-lib it is not immediately obvious how after doing the following to "mark" a series of ranges:

edbee::TextController controller = mpSourceEditorEdbee->controller();
edbee::TextSearcher searcher = controller->textSearcher();
searcher->markAll(controller->borderedTextRanges());
controller->update();

one would then "clear" those "markings" without otherwise disturbing the document text, from looking at a15b3ca it does not seem possible to clear this by specifying a null argument to edbee::TextSearcher::markAll(...) so what needs to go in as an argument or is another method needed to remove those outline markings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions