I'm using FindText to locate expressions that represent a fraction. Once found, I'd like to save the match Caret locations in a std::vector<> for later use in editing the string, but I can't get the vector to "work".
CaretCR matchStart = textMatch->GetMatchStart(); std::vector<CaretCR> startMatchCaret; // or std::vector<CaretPtr> startMatchCaret; // or std::vector<CaretCP> startMatchCaret; startMatchCaret.push_back(matchStart);
Bruce