Search found 8 matches
- 28 May 2008 15:13
- Forum: Scripts
- Topic: Script to open template, with cursor position
- Replies: 0
- Views: 7595
Script to open template, with cursor position
Hi all, This is a script I made to create a new file based on a template. First there is a base script: procedure CreateNewFile( extension: WideString ); var strFilename: WideString; strOriginal: WideString; i: Integer; iLineCount: Integer; iPos: Integer; strOriginalLine: WideString; strNew1, strNew...
- 28 May 2008 12:55
- Forum: Scripts
- Topic: base path for scripts?
- Replies: 0
- Views: 7925
base path for scripts?
When I have this line uses 'CreateNewFile.pas'; in a file that is in the scripts folder under the TextEd folder and try to run it, it returns this error: Cannot open file "C:\Program Files\RJ TextEd\scripts\Fast Reports - Demo Scripts\PascalScripts\CreateNewFile.pas" Why is that folder set...
- 05 Nov 2007 15:15
- Forum: Syntax files
- Topic: create fold block
- Replies: 6
- Views: 15718
- 05 Nov 2007 09:27
- Forum: Syntax files
- Topic: create fold block
- Replies: 6
- Views: 15718
- 05 Nov 2007 09:07
- Forum: Syntax files
- Topic: create fold block
- Replies: 6
- Views: 15718
create fold block
Inside PHP scripts, I want to fold a rather large collection of functions that I don't have to see the whole time. I tried to create a folding block that starts with a certain comment and ends with another. Something like this: // [START] Properties: Set functions function SetTableName( $name ) { se...
- 09 Aug 2006 12:18
- Forum: Syntax files
- Topic: php with hypertext
- Replies: 6
- Views: 17952
- 09 Aug 2006 11:18
- Forum: Syntax files
- Topic: php with hypertext
- Replies: 6
- Views: 17952
I'm not sure about the PHP highlighting inside a string. I think a string should be highlighted as a string. Anything else just seems wrong, some how. When I'm programming PHP, I am *very* glad to see the PHP code syntax coloured as PHP code, and not as an HTML string. PHP is embedded into HTML - b...
- 09 Aug 2006 10:44
- Forum: Syntax files
- Topic: php with hypertext
- Replies: 6
- Views: 17952
Maybe it's better to use multiple highlighters. Maybe a line in the Html syntax file that loads the PHP syntax as well. Whenever a <?php is encountered the PHP syntax kicks in, and when the > is encountered the HTML syntax is used again. Just a thought. Sounds great! But don't forget that the HTML ...