Robert Roessler | 1 Jun 06:36
Favicon

Re: [scite] eiffel mode highlighting problem

Valéry Croizier wrote:

> There must be something wrong in the Eiffel lexer : after parentheses, 
> names starting with a dot are highlighted like numbers, which is very 
> annoying since this occurs frequenly. For instance :
> (a).abs -- ".abs" is highlighted like a number
> (a) .abs -- (one space before the dot) same problem
> (a). abs -- (one space after the dot) the dot is highlighted like a number

First, this type of question/comment probably is more a "Scintilla" 
issue, since it provides the lexing services to SciTE. :)

But yes, after looking at the LexEiffel.cxx source file, I could 
believe that something might be wrong...

1) '.' shows up in *both* isEiffelOperator() and IsAWordChar()

2) the "if (sc.state == SCE_EIFFEL_NUMBER)" state then proceeds to 
switch to SCE_EIFFEL_DEFAULT if the new char FAILS IsAWordChar()

3) when in the SCE_EIFFEL_DEFAULT state, a SCE_EIFFEL_NUMBER state may 
be entered if a '.' is seen

I do not use Eiffel, so 1) may not be a problem, but 3) is suspect and 
2) is likely a bug.

My USD 0.02.

Robert Roessler
robertr <at> rftp.com
(Continue reading)

Frank Wunderlich | 1 Jun 08:48
Picon
Picon

Re: [SciTE patch] Add two folding features

> --- Ursprüngliche Nachricht ---
> Von: "Olivier Dagenais" <olivier.dagenais <at> formark.com>
> Betreff: [scite] [SciTE patch] Add two folding features
> ...

how do i apply the patch with win32 and how do i create also patch-files
(for my changes in reloadproperties-procedure)

greets frank

--

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
Robert Roessler | 1 Jun 09:19
Favicon

Re: [SciTE patch] Add two folding features

Frank Wunderlich wrote:
>>--- Ursprüngliche Nachricht ---
>>Von: "Olivier Dagenais" <olivier.dagenais <at> formark.com>
>>Betreff: [scite] [SciTE patch] Add two folding features
>>...
> 
> 
> how do i apply the patch with win32 and how do i create also patch-files
> (for my changes in reloadproperties-procedure)

Just use the full files from the attached zip in the original post - 
after saving the originals (or be prepared to get them from CVS as 
needed), of course. :)

Then use whatever build mechanism you usually use.

As for the "patch-files", remember that Neil in general prefers the 
full files - if you were planning on submitting them to him.

Robert Roessler
robertr <at> rftp.com
http://www.rftp.com
cblasius | 1 Jun 09:17
Picon
Favicon

Re: Spelling

Neil Hodgson wrote:
>>How I can enable spelling in scite editor for example polish language?
> 
>    There is no support for checking spelling in SciTE.
>    Neil

Thank you.
Will be this feature enable in future?

Thanks again
cblasius
Frank Wunderlich | 1 Jun 09:30
Picon
Picon

Re: [SciTE patch] Add two folding features

> --- Ursprüngliche Nachricht ---
> Von: Robert Roessler <robertr <at> rftp.com>
> An: Discussion of the SciTE editor <scite-interest <at> lyra.org>
> Betreff: Re: [scite] [SciTE patch] Add two folding features
> Datum: Wed, 01 Jun 2005 00:19:06 -0700
> 
> Just use the full files from the attached zip in the original post - 
> after saving the originals (or be prepared to get them from CVS as 
> needed), of course. :)
> 
> Then use whatever build mechanism you usually use.
> 
> As for the "patch-files", remember that Neil in general prefers the 
> full files - if you were planning on submitting them to him.

i have edited scite-source so that the patch is better for me.
and i want to know hot to use patch and diff under win32 to make
version-independ changes in sourcecode (e.g. porting my changes in scite
1.63 to future version, without changing the files by hand).

greets Frank

--

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
Picon

RE: Spelling

>>>How I can enable spelling in scite editor for example polish language?
>>    There is no support for checking spelling in SciTE.
>Thank you.
>Will be this feature enable in future?

Spellchecking can be achieved through an external application. That is, there's no need to include this
feature in SciTE.

You can configure an external command to execute aspell, ispell or whatever you use. IIRC there was some
time ago a thread about this, so you may try to search the list archives (
http://mailman.lyra.org/pipermail/scite-interest/ though you may be better off asking Google ). You
can also have a look at SciTE's documentation about external commands (
http://scintilla.sourceforge.net/SciTEDoc.html ).

HTH.

gnz
Pujo Aji | 1 Jun 13:03
Picon

blank result in sciTE

Hello,

I open file which is 52 Kb and transfer it into list, if I show the
list in sciTE, but I found it shows nothing. Is that normal?
Is it too large?

pujo
Neil Hodgson | 2 Jun 02:56
Picon

Re: blank result in sciTE

Pujo Aji:

> I open file which is 52 Kb and transfer it into list, if I show the
> list in sciTE, but I found it shows nothing. Is that normal?
> Is it too large?

   SciTE works with multi-megabyte API files so I don't think it is size.

   Neil
Manta (SciTE | 2 Jun 04:06
Picon

Using Lua variable in command.go


Ladies and gents

I'm absolutely obsessed with SciTE, my life was ordinary before I found it.

I've recently been setting up a "go" command for my PHP files. All my 
editing is done over Samba to a development server, where all PHP files 
are in a directory structure including the web hostname and path, e.g.:

\\serverName\shareName\www.site.com\path\to\file.php

I've made a Lua function which parses this string into a real URL, e.g.:

http://www.site.com/path/to/file.php

I then created another function generates the URL and launches it in my 
browser, using the Lua command "os.execute".

I threw these functions in my SciTEStartup.lua file and everything 
worked fine running in pure Lua:

command.name.10.*=Open In Browser
command.subsystem.10.*=3
command.shortcut.10.*=Ctrl+Enter
command.10.*=openInBrowser

However I really don't like this DOS box popup that os.execute uses (I 
am REALLY anal).

What I am now attempting to do is this:
(Continue reading)

Neil Hodgson | 2 Jun 06:07
Picon

Re: [SciTE patch] Add two folding features

Olivier Dagenais:

> I was rather jealous of my friend's ability to CTRL+Click on a 
> fold point in the margin and have all children recursively contract 
> or expand, while I had no such keyboard shortcut at my disposal 
> (whereas I was able to do some of this in VS.NET with "Collapse 
> to definitions"), so I extended SciTE to make this possible!

   OK, committed.

   Neil

Gmane