THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/08/2004 at 14:34, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
Lets say I have a MULTILINEEDIT field.
How can I know the start and length of the selection (selected text)?
Thank you very much in advance.
On 23/08/2004 at 04:52, xxxxxxxx wrote:
Come on... anyone?
This is, aparently, a very trivial think. I can't believe Maxon forgot to add this!!
On 23/08/2004 at 09:13, xxxxxxxx wrote:
This isn't possible. (And if it was, it would probably be C++ only...
On 23/08/2004 at 15:21, xxxxxxxx wrote:
This is a VERY BIG ommition. It should be very easy to code that, to include it in COFFEE. That means I will have to create my very own MULTILINEEDIT, if possible at all
On 07/11/2004 at 06:00, xxxxxxxx wrote:
is there a way in C++ (maybe catching a message or anything) to determine the current cursor position in a MulitLineEdit element?
On 09/11/2004 at 10:21, xxxxxxxx wrote:
Anybody knows about it?
On 10/11/2004 at 02:37, xxxxxxxx wrote:
No, I don't think so.
On 10/11/2004 at 07:00, xxxxxxxx wrote:
you don´t think so, or "it´s not possible"?
On 18/11/2004 at 07:14, xxxxxxxx wrote:
Just as I said, I didn't think it was possible...
It seems a hack would be to catch the 'stat' message and parse the position from "Line 1, Pos. 2". You would have to watch out for other languages, so the best is probably to remove all non-digits.
On 18/11/2004 at 07:21, xxxxxxxx wrote:
thank you Mikael!
On 18/11/2004 at 09:10, xxxxxxxx wrote:
Anyway, that hack will only give us the insertion point location. What if I have some sequence of characters selected? And how to set it instead of just reading?
This is a major shortcoming on the edit fields