Philippe Lhoste | 1 Apr 10:06
Picon

Re: main menu customizing

mozers wrote:
> Will be main menu adjusted in SciTE (as menu Tools)?
> Some menu commands are completely unnecessary for me.
> Other commands must be seen in the menu.
> Is it unrealizable dream?

Currently, you have two options:
1) Modify the source and recompile;
2) If you are on Windows, download the free Resource Hacker and edit 
SciTE resources to your tastes. Much easier if you have no development 
environment.

--

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --
Ervin Peters | 1 Apr 17:06
Picon
Favicon

Speicherfehler (~segfaults) after switching system to utf-8 locale

Hallo,

I recently changed my system (gentoo x86, Gnome) to utf-8 locale.
Afterwards scite crashes often with 'Speicherfehler' - I assume
segfaults - while pressing some command keys like [ctrl]
+[s] to save or [ctrl]+[cursor$x] to mark text.

Also I recognized that it depends on the edited content, sometimes I
found an open but not closed tag, or some typos in tags (xhtml, css,
perl).

Does anyone has similar problems after switching to utf-8?

Any hints to solve?

ervin

--

-- 
Ervin Peters
D-99425 Taubach
April White | 2 Apr 15:19
Picon
Favicon

revision #8 to the tool/job/command system

I've uploaded to 
http://www.scintilla.org/aprilw/scite-april-2006-04-01.zip the latest 
release.

In addition to the small bugs patched since the last major release, it 
was pointed out that the command mode parsing was not reversing flags 
when duplicates were encountered.  This has been corrected.

April

--

-- 
I am grateful that I am not as judgmental as all those , self-righteous people around me.
Roman Hubacek | 3 Apr 10:29
Picon
Favicon

Re: ctags

Dennis Dalessandro napsal(a):
> How can I use ctags with SciTE?  I've seen this wiki
> http://lua-users.org/wiki/SciteTags
> but can't seem to get it to work.  There is a link to a lua script
> (ctags.lua) I put that in my user properties file (should it go
> somewhere else?), and under the tools menu I get the Goto Tag(Ctrl+.)
> option, and when I hit that in the output pane I get ">find_ctag XXXXX"
> but doesn't go to the file as defined in the tags file I created.
> 
> Any help appreciated.

Hi,

   I am using ctags with Scite on Windows this way (I don't use lua):

   I have each project on separate disk (using subst), tags file 
generated by ctags -R in root of disk. With scite I have this tool:

command.name.5.*=Read Tags
command.5.*=readtags.exe -t\tags $(CurrentWord)
command.save.before.5.*=2

   After Ctrl+5 it finds definitions for current word/selection into 
output pane, F4 jumps over found entries.

   On Windows, both utils from Exuberant ctags on path (ctags.exe, 
readtags.exe).

-- Roman
(Continue reading)

Dennis Dalessandro | 3 Apr 14:39
Favicon

Re: Re: ctags

I am running SciTE on Linux, don't seem to have readtags, I've always
just used ctags, usually with vim.

On Mon, 2006-04-03 at 10:29 +0200, Roman Hubacek wrote:
> Dennis Dalessandro napsal(a):
> > How can I use ctags with SciTE?  I've seen this wiki
> > http://lua-users.org/wiki/SciteTags
> > but can't seem to get it to work.  There is a link to a lua script
> > (ctags.lua) I put that in my user properties file (should it go
> > somewhere else?), and under the tools menu I get the Goto Tag(Ctrl+.)
> > option, and when I hit that in the output pane I get ">find_ctag XXXXX"
> > but doesn't go to the file as defined in the tags file I created.
> > 
> > Any help appreciated.
> 
> Hi,
> 
>    I am using ctags with Scite on Windows this way (I don't use lua):
> 
>    I have each project on separate disk (using subst), tags file 
> generated by ctags -R in root of disk. With scite I have this tool:
> 
> command.name.5.*=Read Tags
> command.5.*=readtags.exe -t\tags $(CurrentWord)
> command.save.before.5.*=2
> 
>    After Ctrl+5 it finds definitions for current word/selection into 
> output pane, F4 jumps over found entries.
> 
>    On Windows, both utils from Exuberant ctags on path (ctags.exe, 
(Continue reading)

Roman Hubacek | 3 Apr 15:58
Picon
Favicon

Re: ctags

Dennis Dalessandro wrote:
> I am running SciTE on Linux, don't seem to have readtags, I've always
> just used ctags, usually with vim.

I got it from here:

   http://ctags.sourceforge.net/

there are also sources and rpms. You can build it from sources. Readtags 
is small utility that searches tags file and output results.

-- Roman
Dennis Dalessandro | 3 Apr 22:07
Favicon

Re: Re: ctags

On Mon, 2006-04-03 at 15:58 +0200, Roman Hubacek wrote:
> You can build it from sources. Readtags 
> is small utility that searches tags file and output results.

Hmm, I built ctags from sources, never noticed a readtags executable.
Oh well, I went ahead and figured out this whole lua thing anyway.

On the lua-users wiki http://lua-users.org/wiki/SciteTags if you use
SciteExtMan there are 3 ctags lua scripts.

ctags.lua - Doesn't work
ctagsx.lua - Doesn't work
ctagsdx.lua - Works perfectly!

So I have ctags working. Now if I could just have multiple buffers like
splitting the screen in vim I'd be set.  
Neil Hodgson | 4 Apr 03:29
Picon

Re: Speicherfehler (~segfaults) after switching system to utf-8 locale

Ervin Peters:

> I recently changed my system (gentoo x86, Gnome) to utf-8 locale.
> Afterwards scite crashes often with 'Speicherfehler' - I assume
> segfaults - while pressing some command keys like [ctrl]
> +[s] to save or [ctrl]+[cursor$x] to mark text.

   I haven't seen this. Sometimes warning messages are printed out
because of encoding failures so possibly you have an option turned on
that causes them to be errors rather than warnings. Or using a newer
version of some library that treats these as errors. A stack trace may
help find the base cause.

   Neil
Neil Hodgson | 4 Apr 03:27
Picon

Re: main menu customizing

mozers:

> Is it possible to add just only an opportunity to insert separators
>  and a submenu in menu Tools?
> Or it is very difficult?
> Just only separators...

   The major difference between the two APIs used (GTK+ has multiple
menu APIs and SciTE uses the original version) is that inserting new
items is difficult and has been buggy in various versions of GTK+ so,
instead, all the possibly needed items are created at startup and are
then hidden and shown or have their text changed as needed. Windows,
OTOH does not allow hiding a menu item so items are added and removed
as needed.

   For SinkWorld, which uses a newer menu API on GTK+, changes to the
menu structure result in a complete menu rebuild. This may be slow or
flickery depending on machine speed and library versions.

   Neil
Alphax | 4 Apr 11:47
Picon

Re: Re: ctags

Dennis Dalessandro wrote:
> On Mon, 2006-04-03 at 15:58 +0200, Roman Hubacek wrote:
>> You can build it from sources. Readtags 
>> is small utility that searches tags file and output results.
> 
> Hmm, I built ctags from sources, never noticed a readtags executable.
> Oh well, I went ahead and figured out this whole lua thing anyway.
> 
> On the lua-users wiki http://lua-users.org/wiki/SciteTags if you use
> SciteExtMan there are 3 ctags lua scripts.
> 
> ctags.lua - Doesn't work
> ctagsx.lua - Doesn't work
> ctagsdx.lua - Works perfectly!
> 
> So I have ctags working. Now if I could just have multiple buffers like
> splitting the screen in vim I'd be set.  
> 

Why not use both? :) I use SciTE for general-purpose text editing, but
for some purposes I find vim far more useful. Each tool is suited to a
different job, and there's no rule to say you can't use more than one at
a time.

--

-- 
Alphax
Message composed: 2006-04-04T19:17:30+09:30

Gmane