|
From: Sanne S. <in...@sh...> - 2001-03-15 23:07:14
|
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 -----=20 From: Jeff Rafter=20 To: syn...@li...=20 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=3D"1.0"?> <!DOCTYPE root [ ]> <!-- Comment --> <root version=3D"&test;"> <![CDATA[ **CDATA section** ]]> <child id=3D"child1"> Some Child Text </child> </root> or function TSynXMLSyn.GetSampleSource: String; begin Result:=3D '<?xml version=3D"1.0"?>'#13#10+ '<!DOCTYPE root ['#13#10+ ' ]>'#13#10+ '<!-- Comment -->'#13#10+ '<root version=3D"&test;">'#13#10+ ' <![CDATA[ **CDATA section** ]]>'#13#10+ ' <child id=3D"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 |