|
From: Jeff R. <jef...@ea...> - 2001-03-21 21:02:25
|
Sanne, > Does anyone knows there's an other way to get the total size of chars in a edit box? Length(SynEdit.Text); Regards, Jeff Rafter Defined Systems ----- Original Message ----- From: "Sanne Schaap" <in...@sh...> To: <syn...@li...> Sent: Thursday, March 15, 2001 3:08 PM Subject: [Synedit-devel] Bug: GetTextLen Hi, discovered an error: - GetTextLen function results always on 0. Does anyone knows there's an other way to get the total size of chars in a edit box? Thanks Regards Sheep --- Sheep Productions www.sheepproductions.com ----- Original Message ----- From: Jeff Rafter To: syn...@li... Sent: Wednesday, March 14, 2001 11:23 AM Subject: [Synedit-devel] Join in the quest for SampleSource for 1.03b! Everyone! A new version of SynEdit, 1.03b, will soon be released. This version will include many changes discussed on and off the list. It *should* include full support for the SampleSource property that was added in 1.03. This is *your* chance to contribute to SynEdit-- if you know a language that SynEdit has a highlighter for, please submit a SampleSource. The more obscure the language the better! XML for example will be: <?xml version="1.0"?> <!DOCTYPE root [ ]> <!-- Comment --> <root version="&test;"> <![CDATA[ **CDATA section** ]]> <child id="child1"> Some Child Text </child> </root> or function TSynXMLSyn.GetSampleSource: String; begin Result:= '<?xml version="1.0"?>'#13#10+ '<!DOCTYPE root ['#13#10+ ' ]>'#13#10+ '<!-- Comment -->'#13#10+ '<root version="&test;">'#13#10+ ' <![CDATA[ **CDATA section** ]]>'#13#10+ ' <child id="child1">'#13#10+ ' Some Child Text'#13#10+ ' </child>'#13#10+ '</root>'; end; The main objective is to give a sample bit of code for each Highlighter option (not necessarily every part of the language). If you have some code that you are not sure of-- post it!-- maybe others on the list can revise and supplement. -Jeff Rafter Defined Systems PS. 10 points to the first person to offer up the Pascal SampleSource! _______________________________________________ Synedit-devel mailing list Syn...@li... http://lists.sourceforge.net/lists/listinfo/synedit-devel |