Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » QTF Justification
Re: QTF Justification [message #2583 is a reply to message #2559] Tue, 18 April 2006 05:45 Go to previous messageGo to previous message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member
Thanks.

PasteText, and indeed Insert, both take RichText. I have not yet been able to find out how to go from String to RichText. SetFooter() is about the only method that deals with String. (and GetPlainText() ).

Although, I can use:
	RichEdit p;
	RichText a;
	
	p <<= the_new_input_String;
	a = p.CopyText(0, p.GetLength());

	bot.output.Select(bot.output.GetLength(), 1);
	bot.output.SetEditable(true);
	bot.output.PasteText(a);
	bot.output.SetEditable(false);


Ugly as hell, but that'll do.. Now to get rid of those "space" and "newline" icon indicators.

ShowCodes(Null) seems to do that.

Turning off the spellchecker... not possible? Can't even change colour, they are hardcoded as Red/LtRed.








 
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: Scrollable log window with colour text
Next Topic: RichEdit Questions
Goto Forum:
  


Current Time: Fri May 17 01:38:46 CEST 2024

Total time taken to generate the page: 0.02642 seconds