U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » RichEdit and styles questions
Re: RichEdit and styles questions [message #21547 is a reply to message #21545] Tue, 26 May 2009 10:49 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3459
Registered: August 2008
Senior Veteran
Hello luzr

Quote:

Anyway, quite easier fix would be to introduce "text based RichObject" format in QTF, what do you thing?

[ $$0,0#00000000000000000000000000000000:Default]
[{_}%EN-US 
[s0; This is the explanation around the formula&]
[s0; &]
[s0; @formula integral(sqrt(cos(phi`_ini`^2)) `+ i`^2 `+ 6, i `= 1, 10)`*dx@&]
[s0; &]



For me it would be a very good solution.

I think it would be needed for the user:
- A way to define a new object
- A way to give RichEdit a renderer for that object
- A way to give Richedit a callback function so that if somebody does a double-click on the object this function can open an equation editor in this case (or a picture editor in case of a picture)
- A way to update that object text so that after being edited by the callback function, it can be updated in the RichEdit.

In the sample I have removed "Formula" style as with "formula" object it would be enough.

Best regards
Koldo


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: viewing html
Next Topic: Editor Toolbar
Goto Forum:
  


Current Time: Wed May 20 16:00:55 GMT+2 2026

Total time taken to generate the page: 0.00520 seconds