John | 1 Aug 2008 02:18
Picon

calltips without parens


Hi,

I'm trying to get calltips working for a lisp like language.

For example, if I had this in the api file:

(max x y & more)

Then, while typing this in the editor:

(max

(with a space at the end) the calltip given above would show up.

So the question is how to define these:

calltip.lispy.word.characters=
calltip.lispy.parameters.start=
calltip.lispy.parameters.end=
calltip.lispy.parameters.separators=

So that it works.

can we use some kind of regular expression to define the start?

Google can't find any examples where parens aren't used.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
(Continue reading)

Bruno | 1 Aug 2008 17:25
Picon

Page "Translations"


Add french translation for version 1.73

Cliquez sur http://groups.google.com/group/scite-interest/web/translations
ou copiez et collez le lien dans la barre d'adresse du navigateur si
cela ne fonctionne pas.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Bruno | 1 Aug 2008 17:27
Picon

Page "Translations"


Just change text link to french translation

Cliquez sur http://groups.google.com/group/scite-interest/web/translations
ou copiez et collez le lien dans la barre d'adresse du navigateur si
cela ne fonctionne pas.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Neil Hodgson | 3 Aug 2008 11:27
Picon

Re: calltips without parens


John:

> (max
>
> (with a space at the end) the calltip given above would show up.

   I don't think that is currently supported. The calltip
functionality was originally developed for languages like C where the
'(' makes a good trigger.

   Neil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

SteveD | 4 Aug 2008 13:33
Picon

SciTE-GUI: GUI Extensions for SciTE Lua


SciTE-GUI is a binary extension for SciTE Lua written in C++ which
gives Lua scripts the ability to interact with the user with GUI
elements like lists, file and colour dialogs, message boxes, prompt
for string, etc.  It also provides a few useful utility functions like
gui.run(), which can launch an arbitrary program or document without
blocking, etc. There's an example showing a context-sensitive floating
toolbar, as previously promised.

It's possible to attach these GUI elements to the main frame of SciTE
itself:

http://mysite.mweb.co.za/residents/sdonovan/SciTE/scite.png

(Note well that this required _no changes_ to SciTE itself; it is all
done with window subclassing voodoo.)

Here is the documentation, source and binary dll (MSVC6):

http://mysite.mweb.co.za/residents/sdonovan/SciTE/gui_ext.zip

Put gui.dll next to your SciTE.exe and call require("gui") in your
scripts; things should then just work.

Most of the C++ is quite old and sloppy (it is based on a library I
wrote when I was young and foolish, plus VC6 is very tolerant) but I
hope to have a mingw buildable version out soon.

steve d.

(Continue reading)

Larry Wang | 5 Aug 2008 09:19
Picon

Re: SciTE-GUI: GUI Extensions for SciTE Lua


This is just the GUI extension I have been waiting for so long!! Thank you 
Steve! I have already played around with it for a few hours. One question 
though:
Is it possible to not print any statements in console output when switching 
between tabs? I usually minimize my console output window, it's kinda 
annoying every time I switch tabs then it pops up.

Thanks,
Nessus

--------------------------------------------------
From: "SteveD" <steve.j.donovan <at> gmail.com>
Sent: Monday, August 04, 2008 4:33 AM
To: "scite-interest" <scite-interest <at> googlegroups.com>
Subject: [scite] SciTE-GUI: GUI Extensions for SciTE Lua

>
> SciTE-GUI is a binary extension for SciTE Lua written in C++ which
> gives Lua scripts the ability to interact with the user with GUI
> elements like lists, file and colour dialogs, message boxes, prompt
> for string, etc.  It also provides a few useful utility functions like
> gui.run(), which can launch an arbitrary program or document without
> blocking, etc. There's an example showing a context-sensitive floating
> toolbar, as previously promised.
>
> It's possible to attach these GUI elements to the main frame of SciTE
> itself:
>
> http://mysite.mweb.co.za/residents/sdonovan/SciTE/scite.png
(Continue reading)

SteveD | 7 Aug 2008 10:15
Picon

Re: SciTE-GUI: GUI Extensions for SciTE Lua


On Aug 5, 9:19 am, "Larry Wang" <lwa... <at> gmail.com> wrote:
> Is it possible to not print any statements in console output when switching
> between tabs? I usually minimize my console output window, it's kinda
> annoying every time I switch tabs then it pops up.

Fortunately, this is an easy one!  In the gui-test.lua example (which
I assume is the one you're using), there is the following code:

t:on_select(function(idx)
	print('tab',idx)
end)

Just comment out the print statement! There's no actual printing going
on within the DLL itself.

steve d.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Remi Gillig | 7 Aug 2008 11:14
Picon
Gravatar

Re: proposal: Scite extensions page


I am 100% for this idea but the biggest problem of SciTE in my opinion
is that extensions should be plugins and be dynamically loaded.
Without this, it's always hacking the source code and recompile the
whole thing just to have a little feature. Plus, it would make it
really
easier to add scripting language.

I made a Ruby extension for SciTE, instead of just creating a .dll or
a .so I had to modify several source files to get my extension to
load,
I had to include Ruby source files into my repository. What I mean is
that I felt it was hacking and should have been easier.

The argument against the plugin system was that it is not cross
platform and you would have to compile your extension for every
system but this works well for a lot of plugins and I don't see any
problem with that. I respect the choices made with the development
of SciTE but there should more changes.

Putting a page for scripts, api files is really good but as soon as
it concerns extensions I don't think it would be practical.

Remi Gillig.

On Aug 7, 1:47 am, bfisher <jamon.... <at> gmail.com> wrote:
> Over time, people have come up with cool and useful extensions to
> Scite. However, I agree with Neil's direction of keeping Scite small
> and lightweight, and to not let the size of the program grow
> needlessly.
(Continue reading)

instanton | 7 Aug 2008 12:57
Favicon

Re: SciTE-GUI: GUI Extensions for SciTE Lua

While trying files.lua I encountered some minor problem: double clicking on while spaces in the panel, SciTE crashes. Looking into the lua code, I got a solution: it is better not to check if file/dir/pos is not nil, but check if idx is not -1 instead. This way no crash will occur while double clicking on while spaces.
 
Many thanks to Steve for this execlent GUI component. 
 
2008-08-07
----- Original Message -----
From: SteveD
Sent: 2008-08-04, 19:33:19
Subject: [scite] SciTE-GUI: GUI Extensions for SciTE Lua

SciTE-GUI is a binary extension for SciTE Lua written in C++ which
gives Lua scripts the ability to interact with the user with GUI
elements like lists, file and colour dialogs, message boxes, prompt
for string, etc. It also provides a few useful utility functions like
gui.run(), which can launch an arbitrary program or document without
blocking, etc. There's an example showing a context-sensitive floating
toolbar, as previously promised.

It's possible to attach these GUI elements to the main frame of SciTE
itself:

http://mysite.mweb.co.za/residents/sdonovan/SciTE/scite.png

(Note well that this required _no changes_ to SciTE itself; it is all
done with window subclassing voodoo.)

Here is the documentation, source and binary dll (MSVC6):

http://mysite.mweb.co.za/residents/sdonovan/SciTE/gui_ext.zip

Put gui.dll next to your SciTE.exe and call require("gui") in your
scripts; things should then just work.

Most of the C++ is quite old and sloppy (it is based on a library I
wrote when I was young and foolish, plus VC6 is very tolerant) but I
hope to have a mingw buildable version out soon.

steve d.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

DB | 7 Aug 2008 12:02
Picon

Re: SciTE-GUI: GUI Extensions for SciTE Lua


On Aug 4, 1:33 pm, SteveD <steve.j.dono... <at> gmail.com> wrote:
> SciTE-GUI is a binary extension for SciTE Lua written in C++ which
> gives Lua scripts the ability to interact with the user with GUI
> elements like lists, file and colour dialogs, message boxes, prompt
> for string, etc.  It also provides a few useful utility functions like
> gui.run(), which can launch an arbitrary program or document without
> blocking, etc. There's an example showing a context-sensitive floating
> toolbar, as previously promised.

This is really great :)
However after adding require("gui") to startup lua something goes
wrong with codepage - I cant use anymore national letters. My
settings:
code.page=1250
character.set=238
chars.accented=ĄąĆćĘꣳŃńÓ󌜯żŹź
OS: WinXP PL
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane