Joel Chen | 2 Jul 2003 00:58

c/c++ folding #else and #elif?

is it possible to fold at #else and #elif for c/c++?
Yair Siegel | 2 Jul 2003 18:22

RE: c/c++ folding #else and #elif?

I guess you mean separate folding from the #if (like if-else in C):
As far as I know no, today the #if folds all the way. this feature was asked for but I don't think was
implemmented yet.
i.e. 
today:
- #if (x == y)
    xyz ...
  #else 
    xyz2
  #endif

folded:
+ #if (x == y)
   #endif

needed:
- #if (x == y)
    xyz ...
- #else 
    xyz2
  #endif

folded:
- #if (x == y)
    xyz ...
+ #else 
   #endif
-----Original Message-----
From: Joel Chen [mailto:jchen <at> interval.com]
Sent: Wednesday, July 02, 2003 01:59
(Continue reading)

Joel Chen | 2 Jul 2003 20:57

customizing the parser for the output pane?

I have a compiler that spits out warnings and errors in a different way
and the SciTE output pane parser doesn't recognize them, but I didn't
find any information at customizing that.  Any idea on how to do it?  A
trickier thing is that my project has a lot of subdirectories and sub
projects so the make actually changes into different directories and
unless the parser recognizes make's "Entering directory" and "Leaving
Directory" messages, the editor won't be able to find the file.

My solution right now is writing a standalone parser that transforms the
compiler messages into a format the editor output pane recognizes, but
the directory thing is, as said, a little tricky.
Majorinc, Kazimir | 3 Jul 2003 10:32
Picon

Colors in the output window?

I tried to change colors to be negative, as described in SciTE FAQ, but 
compiler output in output window of SciTE is still black, now on black 
background, and that makes it hard, if not impossible to read. How can I 
change foreground font colors in output window?

--------------
Kazimir Majorinc, Zagreb, Croatia  
Majorinc, Kazimir | 3 Jul 2003 11:14
Picon

Eolfilled?

What is the purpose of eolfilled and noteolfilled fields. I tried it 
(Windows), but it seems without any effect.

--------------
Kazimir Majorinc, Zagreb, Croatia  
Marius Gheorghe | 3 Jul 2003 22:45

RE: customizing the parser for the output pane?

[...]
> I have a compiler that spits out warnings and errors in a
> different way
> and the SciTE output pane parser doesn't recognize them, but I didn't
> find any information at customizing that.  Any idea on how to
> do it?
[...]

The error message lexer is located in LexOthers.cxx in the Scintilla
distribution. You would have to either modify that file and rebuild
Scintilla, write your own lexer as a separate module, or, as you suggested,
filter the error messages through another program so Scintilla can
understand them.

Marius Gheorghe

CableTest Systems Inc.
400 Alden Road
Markham, ON L3R 4C1
Canada
Tel: 905-475-2607/X234
Fax: 905-475-2609
Web Site: www.CableTest.com
Marius Gheorghe | 3 Jul 2003 22:54

RE: Eolfilled?

[...]
> What is the purpose of eolfilled and noteolfilled fields. I tried it
> (Windows), but it seems without any effect.
[...]

When eolfilled is enabled, the highlighting (usually through a different
background colour) will extend all the way to the right of the screen (even
if the screen is resized). This is used by some lexers to highlight (syntax)
error conditions.

As an example, if you program in C and provided you have the right settings,
and start typing the following line:

printf("

once you type the quotation mark, the background will become a different
colour starting from the quotation mark all the way to the right margin of
the screen, signalling that you must complete the string with a closing
quotation mark. If you keep typing:

printf("Hello World!"

As soon as you type the closing quotation mark the string will be coloured
differently (again provided you have the right settings) but, more
importantly, the colourization will stop at the closing quotation mark).

Marius Gheorghe

CableTest Systems Inc.
400 Alden Road
(Continue reading)

Joel Chen | 4 Jul 2003 00:47

Is folding available in all lexers?

I would like to do folding in GNUMakefiles for ifeq/endif blocks but not
sure about the details of the makefile lexer.  Does it have the folding
ability?  Can I substitute another lexer for makefiles?  
Stefan Daugaard Poulsen | 4 Jul 2003 09:49
Picon

ASP.NET

Is it in SciTE there is an error because if i don't have a

<% <at>  assembly Src="" %>

in my *.aspx or *.ascx files it thinks it is oldsk00l ASP and that make
everything go fubar, the highlighting is forced to VB, but it is not easy
having VB highlighting when you are using C#.

//Stefan D. Poulsen
Axel Huizinga | 6 Jul 2003 12:33

session load

Hi!

Since my update to SciTE version 1.45
The menu File Session Load | Save does not appear!

Today I compiled the actual Version (linux/gtk)
but this menuitem still doesn't appear!

Any ideas?

Thanks,
axel

Gmane