Page 1 of 1
[Linux] Cute,QScintilla [released]
Posted: Sun Oct 31, 2004 8:38 am
by Inner
It's done, this is major attchivement for me, 7 weeks into linux, and I've added to 2 GNU projects that are not mine at the same time, in languages I'm am semi-unformilure with, on an OS I know next to nothng about.
Supports a diferent color for each of;
Operator
Number
String
Comment
Constants
Procedures (NB: currently needs me to fix Procedure
.)
Library
Language
Debug
Preprocessor
Features;
Procedure Folding ** Unable to get this working it's way out of my league for getting it working properly **
Keyword Completion (not something I had to code for in CUTE, it just did it

)
http://home.clear.net.nz/pages/tjrought ... sic.tar.gz
http://home.clear.net.nz/pages/tjrought ... xer.tar.gz
Here is a picture of the results, yeah I know the colors are barf!, but it's a debug screenshot so I could debug the code.

Posted: Sun Oct 31, 2004 11:41 am
by The_Pharao
nice
if i can help testing or something, pm me
Posted: Sun Oct 31, 2004 12:46 pm
by Henrik
Cool Inner
Procedure-Folding would nice too
Best Regards
Henrik
Posted: Sun Oct 31, 2004 1:18 pm
by Inner
Henrik: note picture... white margin [+] it's already there

I'm just cleaning it up

Posted: Sun Oct 31, 2004 1:59 pm
by Henrik
Oh.. he. cool 8O
You said:
>Procedure Folding (only) 'if anyone wants to fold anything let me know'
Do you mean, custom folding like in GPI's Japbe, folding of "comments and Structure's"
That would be very cool too... /hint'
Best Regards
Henrik
Posted: Sun Oct 31, 2004 2:07 pm
by Inner
Henrik : will do, still trying to figure out how to close the fold properly

Posted: Sun Oct 31, 2004 2:12 pm
by Henrik
Great Inner
I can wait, keep coding
Best Regards
Henrik
Posted: Mon Nov 01, 2004 4:16 pm
by naw
@Inner
You're a hero....
- Time to dust off my PB for Linux again

Posted: Mon Nov 01, 2004 5:01 pm
by blueznl
hey inner, once you're done, how about a port to windows, the max, the amiga, and my atari 600xl?

Posted: Mon Nov 01, 2004 9:12 pm
by Inner
Port of what exactly ? Cute or QScintilla 1.61
Cute .. not my place to do ports, neither would I know how more over it would mean 'booting windows and working in windows'
QScintilla .. now this is more likely since it should already be portable
--
However, I am have huge problems with the folding no matter what I do I can't get it to fold properly, perhaps someone could help me out with this part, I've emailed both authors of both source trees and no reply from either, so I must appeal anyone that can help me out with this one, either drop me a line here, or msn :
tjr_inner@yahoo.co.nz, or drop by IRC.
Posted: Tue Nov 02, 2004 2:32 am
by griz
Thanks for your efforts Inner, this would make using the Linux port much nicer.

Posted: Tue Nov 02, 2004 4:05 am
by Inner
Griz: thanks, I'm trying real hard to get it done, very hard when you don't under full how folding works, I have the syntax highlight down pat, but folding has got me nailed to a tree.
The funny thing is, I don't even like folding myself I can live without it but I know others use it quite a bit, and the lexer has the feature there to be created so I really wanted it feature complete, then I don't need to worry about it any longer.
This is the lexer thus far.
Code: Select all
// download above source the lexer is in QScintilla tar.gz, located under /src/lexpurebasic.cxx
// source chopped out because it's too huge to paste here.
Posted: Tue Nov 02, 2004 1:18 pm
by Henrik
Thank you Inner
I will try it out after work.
i'm Linux newbee so i will probably come back and shout:
H E L P !
Best Regards
Henrik
Posted: Tue Nov 02, 2004 2:05 pm
by Inner
It's pretty easy, QScintilla needs compiling first and fore most, then Cute itself, read the documentation provided and you should be sweet.
