Re: [lazarus] Highlighters -> SQL
On Thu, 23 Mar 2006 13:16:09 -0700 L505 <[EMAIL PROTECTED]> wrote: > > > *hidden IDE trick* > > > > AFAIK common behaviour. Not only for IDEs. > > But apparently not common knowledge. Is there a tipps and tricks section > > in the wiki? > > > > On Windows 2000 at least, notepad.exe doesn't offer this behaviour. > On Delphi 5 though, it does offer file creation. News to me. One more > trick learned. http://wiki.lazarus.freepascal.org/index.php/IDE_tricks Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
> > *hidden IDE trick* > > AFAIK common behaviour. Not only for IDEs. > But apparently not common knowledge. Is there a tipps and tricks section in > the wiki? > On Windows 2000 at least, notepad.exe doesn't offer this behaviour. On Delphi 5 though, it does offer file creation. News to me. One more trick learned. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
Mattias Gaertner wrote: On Wed, 22 Mar 2006 17:09:32 -0700 L505 <[EMAIL PROTECTED]> wrote: I meant, maybe in the Lazarus 'New' dialog an item should appear 'New SQL script file'. It should create a new, empty SQL file. If the SQL highlighter is included, then I could write/edit my SQL scripts in Lazarus itself. We don't need the new dialog to create empty files: Just type Ctrl+o and choose for example 'new.sql'. The correct highlighter is automatically selected. *hidden IDE trick* AFAIK common behaviour. Not only for IDEs. But apparently not common knowledge. Is there a tipps and tricks section in the wiki? Not that I know. Searching for tips, I found: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Packages#Hints_and_Tips but this is too specific for packages. There is also the FAQ, but that doesn't seem an appropriate place either: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Wed, 22 Mar 2006 17:09:32 -0700 L505 <[EMAIL PROTECTED]> wrote: > > > I meant, maybe in the Lazarus 'New' dialog an item should appear 'New > > > SQL script file'. It should create a new, empty SQL file. If the SQL > > > highlighter is included, then I could write/edit my SQL scripts in > > > Lazarus itself. > > > > We don't need the new dialog to create empty files: > > Just type Ctrl+o and choose for example 'new.sql'. > > The correct highlighter is automatically selected. > > > > > > *hidden IDE trick* AFAIK common behaviour. Not only for IDEs. But apparently not common knowledge. Is there a tipps and tricks section in the wiki? > - just like in Delphi 5 when I discovered you could > double click on clColor in the object inspector, and it would pop open a > color selection dialog. Really should have been a triple dot button like > in Lazarus. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
> > I meant, maybe in the Lazarus 'New' dialog an item should appear 'New SQL > > script file'. It should create a new, empty SQL file. If the SQL > > highlighter is included, then I could write/edit my SQL scripts in Lazarus > > itself. > > We don't need the new dialog to create empty files: > Just type Ctrl+o and choose for example 'new.sql'. > The correct highlighter is automatically selected. > > *hidden IDE trick* - just like in Delphi 5 when I discovered you could double click on clColor in the object inspector, and it would pop open a color selection dialog. Really should have been a triple dot button like in Lazarus. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
Thanks - Original Message - > > But the highlighter is not the component TSynSqlSyn that is on the lazarus > > component pallete? > > Ah, I see. Sorry. > I will add it. > > Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Thu, 23 Mar 2006 00:42:54 +0100 (Romance Standard Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Wed, 22 Mar 2006, Mattias Gaertner wrote: > > > On Wed, 22 Mar 2006 23:49:03 +0100 (Romance Standard Time) > > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > On Wed, 22 Mar 2006, Horacio Jamilis wrote: > > > > > > > Why lazarus does not include a highlighter for SQL? > > > > It could be usefull to have it and I guess synedit should have it > > > > already, but in the code editor popup menu, it offers many options > > > > (like PHP or HTML) but not SQL... > > > > > > > > Just a question. > > > > > > I would like to see SQL included, this would be very useful for me as > > > well. > > > > > > A new file type 'SQL script' could also be included, maybe ? > > > > What do you mean with 'file type'? > > What file extension should do what? > > I meant, maybe in the Lazarus 'New' dialog an item should appear 'New SQL > script file'. It should create a new, empty SQL file. If the SQL > highlighter is included, then I could write/edit my SQL scripts in Lazarus > itself. We don't need the new dialog to create empty files: Just type Ctrl+o and choose for example 'new.sql'. The correct highlighter is automatically selected. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Wed, 22 Mar 2006, Mattias Gaertner wrote: > On Wed, 22 Mar 2006 23:49:03 +0100 (Romance Standard Time) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > On Wed, 22 Mar 2006, Horacio Jamilis wrote: > > > > > Why lazarus does not include a highlighter for SQL? > > > It could be usefull to have it and I guess synedit should have it > > > already, but in the code editor popup menu, it offers many options (like > > > PHP or HTML) but not SQL... > > > > > > Just a question. > > > > I would like to see SQL included, this would be very useful for me as > > well. > > > > A new file type 'SQL script' could also be included, maybe ? > > What do you mean with 'file type'? > What file extension should do what? I meant, maybe in the Lazarus 'New' dialog an item should appear 'New SQL script file'. It should create a new, empty SQL file. If the SQL highlighter is included, then I could write/edit my SQL scripts in Lazarus itself. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
I think that opening .sql files should select automatically the sql highlighter. - Original Message - From: "Mattias Gaertner" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 22, 2006 7:53 PM Subject: Re: [lazarus] Highlighters -> SQL > On Wed, 22 Mar 2006 23:49:03 +0100 (Romance Standard Time) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > On Wed, 22 Mar 2006, Horacio Jamilis wrote: > > > > > Why lazarus does not include a highlighter for SQL? > > > It could be usefull to have it and I guess synedit should have it > > > already, but in the code editor popup menu, it offers many options (like > > > PHP or HTML) but not SQL... > > > > > > Just a question. > > > > I would like to see SQL included, this would be very useful for me as > > well. > > > > A new file type 'SQL script' could also be included, maybe ? > > What do you mean with 'file type'? > What file extension should do what? > > > > Mattias, is this possible ? Till now all my wizards created > > regular pascal files. > > > Mattias > _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Wed, 22 Mar 2006 19:58:45 -0300 "Horacio Jamilis" <[EMAIL PROTECTED]> wrote: > But the highlighter is not the component TSynSqlSyn that is on the lazarus > component pallete? Ah, I see. Sorry. I will add it. Mattias > > - Original Message - > From: "Mattias Gaertner" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, March 22, 2006 7:39 PM > Subject: Re: [lazarus] Highlighters -> SQL > > > > On Wed, 22 Mar 2006 19:34:22 -0300 > > "Horacio Jamilis" <[EMAIL PROTECTED]> wrote: > > > > > Why lazarus does not include a highlighter for SQL? > > > It could be usefull to have it and I guess synedit should have it > already, > > > but in the code editor popup menu, it offers many options (like PHP or > > > HTML) but not SQL... > > > > > > Just a question. > > > > It has not been ported. > > If you want to give it a try, and got questions, don't hesitate to ask > here. > > > > Mattias > > > > _ > > To unsubscribe: mail [EMAIL PROTECTED] with > > "unsubscribe" as the Subject > >archives at http://www.lazarus.freepascal.org/mailarchives > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
But the highlighter is not the component TSynSqlSyn that is on the lazarus component pallete? - Original Message - From: "Mattias Gaertner" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 22, 2006 7:39 PM Subject: Re: [lazarus] Highlighters -> SQL > On Wed, 22 Mar 2006 19:34:22 -0300 > "Horacio Jamilis" <[EMAIL PROTECTED]> wrote: > > > Why lazarus does not include a highlighter for SQL? > > It could be usefull to have it and I guess synedit should have it already, > > but in the code editor popup menu, it offers many options (like PHP or > > HTML) but not SQL... > > > > Just a question. > > It has not been ported. > If you want to give it a try, and got questions, don't hesitate to ask here. > > Mattias > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Wed, 22 Mar 2006 23:49:03 +0100 (Romance Standard Time) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Wed, 22 Mar 2006, Horacio Jamilis wrote: > > > Why lazarus does not include a highlighter for SQL? > > It could be usefull to have it and I guess synedit should have it > > already, but in the code editor popup menu, it offers many options (like > > PHP or HTML) but not SQL... > > > > Just a question. > > I would like to see SQL included, this would be very useful for me as > well. > > A new file type 'SQL script' could also be included, maybe ? What do you mean with 'file type'? What file extension should do what? > Mattias, is this possible ? Till now all my wizards created > regular pascal files. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Wed, 22 Mar 2006, Horacio Jamilis wrote: > Why lazarus does not include a highlighter for SQL? > It could be usefull to have it and I guess synedit should have it already, > but in the code editor popup menu, it offers many options (like PHP or HTML) > but not SQL... > > Just a question. I would like to see SQL included, this would be very useful for me as well. A new file type 'SQL script' could also be included, maybe ? Mattias, is this possible ? Till now all my wizards created regular pascal files. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Highlighters -> SQL
On Wed, 22 Mar 2006 19:34:22 -0300 "Horacio Jamilis" <[EMAIL PROTECTED]> wrote: > Why lazarus does not include a highlighter for SQL? > It could be usefull to have it and I guess synedit should have it already, > but in the code editor popup menu, it offers many options (like PHP or > HTML) but not SQL... > > Just a question. It has not been ported. If you want to give it a try, and got questions, don't hesitate to ask here. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Highlighters -> SQL
Why lazarus does not include a highlighter for SQL? It could be usefull to have it and I guess synedit should have it already, but in the code editor popup menu, it offers many options (like PHP or HTML) but not SQL... Just a question. Horacio Jamilis [EMAIL PROTECTED]