Neil Hodgson | 2 Jan 02:52
Picon

Re: extending syntax highlighting and keywords


snowman:

> I am trying to extend the html.properties file to include an
> additional file extension.  My aim is that files of this extension
> will pick up all the current html syntax highlighting and keywords and
> cope with some additions.  The specific additions I am looking for
> are:-
>
> Lines starting ## to be treated as comments
>
> A number of keywords to be added such as #parse #macro etc.
>
> Variables to be syntax coloured ie ${DocTitle}

   This set of changes can not be achieved by changing the .properties
files. Changes like this would requiring adding to the HTML lexer code
in scintilla/src/LexHTML.cxx.

   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
-~----------~----~----~----~------~----~------~--~---

paaguti | 4 Jan 12:42
Picon

Missing shbang's


Hi folks,

I miss following shbang's:

for the different AWK variants in perl.properties

shbang.gawk=awk
shbang.nawk=awk
shbang.mawk=awk

for the Tiny C compiler & forks in cpp.properties

shbang.tcc=cpp
shbang.tinycc=cpp

--~--~---------~--~----~------------~-------~--~----~
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 | 6 Jan 01:59
Picon

Re: Missing shbang's


paaguti:

> I miss following shbang's:
>
> for the different AWK variants in perl.properties
>
> shbang.gawk=awk
> shbang.nawk=awk
> shbang.mawk=awk
>
> for the Tiny C compiler & forks in cpp.properties
>
> shbang.tcc=cpp
> shbang.tinycc=cpp

   OK, committed.

   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 | 7 Jan 08:45
Picon

Personal SciTE roadmap


Hi guys,

This is the time of year when it's traditional to look into the
crystal ball and build personal wishlists.

My personal piority for SciTE developement are an easy-to-use GUI
library for scripting; things like list windows, message boxes, input
boxes, etc. I particularly need this for the next iteration of scite-
debug, since it's irritating to show everything using the output
window, but I think this will be generally useful. I've been exploring
lua-gtk and it shows promise; a cross-platform kit seems very
possible. Expect this in the next three months, other work
committments willing.

Spell-checking is occaisionally very useful when editing. I'd like to
integrate aspell - I tried this some years back, and now I'll do it
properly.

A powerful feature of Scintilla is _loadable lexers_.  Particularly
useful for new obscure languages which one wouldn't necessarily want
to put in the stock Scintilla build. Such a loadable library can even
link directly against SciTE Lua, which would give us a way to write
lexers in Lua without any changes to the SciTE core.

Generally, a useful rule is SINE: SciTE Is Not E (where E is either
Emacs or Eclipse). That is, it is silly to use SciTE to read your mail
in a modern desktop environment, and deep integration with a
particular language (like Eclipse-Java) is also not a sensible goal.
However, everything else is fair game ;)  The second rule is this: try
(Continue reading)

Neil Hodgson | 8 Jan 00:25
Picon

Re: Personal SciTE roadmap


SteveD:

> My personal piority for SciTE developement are an easy-to-use GUI
> library for scripting; things like list windows, message boxes, input
> boxes, etc.

   This sort of thing scares me as I'm sure it will lead to
re-entrance bugs and application hangs and then support requests.
Possibly tamed by making GUI elements non-modal (with events on
completion) and limiting to single instances - so calling a second
MessageBox just changes the message in the existing one.

> Spell-checking is occaisionally very useful when editing. I'd like to
> integrate aspell - I tried this some years back, and now I'll do it
> properly.

   Should work OK.

> A powerful feature of Scintilla is _loadable lexers_.

   Doesn't seem to be widely used.

> Such a loadable library can even
> link directly against SciTE Lua, which would give us a way to write
> lexers in Lua without any changes to the SciTE core.

   Exposing a basic OnStyle to Lua wasn't much work but wasn't
included as it would be better to provide higher level arguments like
the C++ Accessor or StyleContext objects (which requires more work).
(Continue reading)

yyyc186 | 8 Jan 02:43

Ubuntu updates planned?


It's been quite a while since I posted here.  I still haven't seen a
SciTE update come across with my Ubuntu updates.  Has anymore progress
been made updating Debian releases?  I do still want to try the
updated version on the AMD 64-bit build.
--~--~---------~--~----~------------~-------~--~----~
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 | 8 Jan 07:10
Picon

Re: Personal SciTE roadmap


On Jan 8, 1:25 am, "Neil Hodgson" <nyamaton...@gmail.com> wrote:
>    This sort of thing scares me as I'm sure it will lead to
> re-entrance bugs and application hangs and then support requests.
> Possibly tamed by making GUI elements non-modal (with events on
> completion) and limiting to single instances - so calling a second
> MessageBox just changes the message in the existing one.

That sounds like a good strategy - altho a modal box would be
application-modal, so one really can't do anything else with
the app until one finishes the transaction.  So I can't see
why re-entrance can ever happen?

As for hijacking the incremental search dialog:
>    I don't really understand how it would work.

Granted, it has a different appearance on the different platforms - I
actually rather like the Windows one since it's less intrusive.  The
idea is simply to allow the Lua subsystem to bring up this dialog and
customize what happens when a key is pressed. So, for instance,
one could look for '<enter>', close the box and evaluate a shell
command
which receives the selected part of the current buffer. (The canonical
case
is when you would like to sort the selection.)  The possibilities (as
they say in the adverts) are endless, although not everyone's cup
of tea.

steve d.

(Continue reading)

Hartwig | 8 Jan 20:38
Picon
Picon

Ruby Extension


Hi!
For me scite is a great editor. I use it very often. But there are two
things that are missing for me.

First a Ruby extension (ruby is a dynamic object oriented programming
language)
and second snippets alla textmate.

So i read the api and tried to write a ruby extension. It works, but
currently only under windows. I would say its in an alpha state. As an
proof of concept i wrote something like the textmate snippets. They
are currently not so good as the snippets from Mitchell (http://
caladbolg.net/scite_snippets.php), but with a little work they could
be.

Is anyone interessted in the ruby extension, or will anyone help me to
improve the extension?
mfg Hartwig
--~--~---------~--~----~------------~-------~--~----~
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 | 9 Jan 02:37
Picon

Re: Personal SciTE roadmap


SteveD:

> That sounds like a good strategy - altho a modal box would be
> application-modal, so one really can't do anything else with
> the app until one finishes the transaction.  So I can't see
> why re-entrance can ever happen?

   'Helpful' OnUpdateUI script detects unbalanced brackets and decides
to suggest that an extra '}' be added so moves the caret to that
position and calls
addBracket = scite.MessageBox("Code in Peril! Add '}' on line 17?",
"Yes", "Maybe")
   After the message box is displayed, the editor pane is redrawn
(because of the caret move) leading to a re-entrant call to OnUpdateUI
and an extra MessageBox. Depending on specifics this could reenter
again leading to a large number of MessageBoxes. Part of the problem
here is that there are unexpected possibilities of re-entrance and
behaviour may change with minor changes such as adding the caret
movement in the above example. Preventing any calls into Lua with
re-entrant events may also lead to problems where code is expected to
run on every occasion an event occurs.

   Rather than having scite.MessageBox being synchronous as above, it
may be better to have an "OnMessageBoxChoice" event or provide an
event name in the call.

   Neil

--~--~---------~--~----~------------~-------~--~----~
(Continue reading)

Neil Hodgson | 9 Jan 03:33
Picon

Re: Ubuntu updates planned?


yyyc186:

> It's been quite a while since I posted here.  I still haven't seen a
> SciTE update come across with my Ubuntu updates.  Has anymore progress
> been made updating Debian releases?  I do still want to try the
> updated version on the AMD 64-bit build.

   The Debian porters can't compile SciTE
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=scite;dist=unstable

   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
-~----------~----~----~----~------~----~------~--~---


Gmane