[Linux] Cute,QScintilla [released]

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

[Linux] Cute,QScintilla [released]

Post 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.
Image
Last edited by Inner on Tue Nov 02, 2004 8:58 am, edited 1 time in total.
The_Pharao
User
User
Posts: 57
Joined: Sun Jan 04, 2004 2:11 pm

Post by The_Pharao »

nice :D

if i can help testing or something, pm me
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

Cool Inner :D

Procedure-Folding would nice too :wink:

Best Regards
Henrik
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post by Inner »

Henrik: note picture... white margin [+] it's already there :) I'm just cleaning it up ;)
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

Oh.. he. cool 8O :D
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' :wink:

Best Regards
Henrik
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post by Inner »

Henrik : will do, still trying to figure out how to close the fold properly :)
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

Great Inner :D
I can wait, keep coding 8)

Best Regards
Henrik
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Post by naw »

@Inner

You're a hero....

- Time to dust off my PB for Linux again :-)
Ta - N
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

hey inner, once you're done, how about a port to windows, the max, the amiga, and my atari 600xl?

:-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post 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.
User avatar
griz
Enthusiast
Enthusiast
Posts: 167
Joined: Sun Jun 29, 2003 7:32 pm
Location: Canada

Post by griz »

Thanks for your efforts Inner, this would make using the Linux port much nicer. :)
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post 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.
Last edited by Inner on Tue Nov 02, 2004 2:03 pm, edited 1 time in total.
Henrik
Enthusiast
Enthusiast
Posts: 404
Joined: Sat Apr 26, 2003 5:08 pm
Location: Denmark

Post by Henrik »

Thank you Inner :D
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
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post 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. :)
Post Reply