Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C++] Possible to build std::vector of CaretCP or CaretPtr ?

$
0
0

[quote user="Jon Summers"]Perhaps classes RunIterator and RunRange might help?[/quote]

Hmm.. I don't believe I've seen those before. I'll take a look.

This is what I've come up with:

std::vector<CaretPtr>	startMatchCaret;
...
CaretCR			matchStart = textMatch->GetMatchStart();
...
CaretPtr		start = matchStart.Clone();
startMatchCaret.push_back(start);

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>