From: Ian L. <dr...@gm...> - 2006-12-03 22:19:16
|
The syntax highlighting looks great! As far as the hardcoded keywords go, I don't know of a better way to get them from the LEX file other than copy/paste. However, I don't think this will be a big problem as that file won't be changing much, if at all, in the future. I went ahead and fixed the dark colors so they're highlighted too now. > 3. Function names are highlighted where declared, but calls to them aren't. This isn't necessarily a bad thing. The labels stand out with their own color, which looks great to me. -Ian On 12/3/06, tony007 <sup...@go...> wrote: > I've added syntax highlighting to the editor window. It's not complete yet > and is easy to turn off if you want. Just comment out the line: editsyntax = > new EditSyntaxHighlighter(editor->document()); in > MainWindow.cpp. > > Current issues: > 1. The list of keywords is hardcoded and as I believe duplication is evil > this isn't so good. I was hoping there might be a way of getting the info > from the lex files but haven't looked into that yet. ( any thoughts? ) > 2. It doesn't highlight color names with 'dark' at the front. > 3. Function names are highlighted where declared, but calls to them aren't. > > Basically I've just run out of time this afternoon and will get onto sorting > them out as soon as I can. > If there's anything else wrong with it please let me know... > > Cheers, > tony > > > On 02/12/06, Ian Larsen < dr...@gm...> wrote: > > Don't worry about getting in the way when committing to devel. I'll > > always save changes to the trunk before I do a release. > > > > And I'll fix the Contributors file. > > > > -Ian > > > > On 12/2/06, tony007 <sup...@go... > wrote: > > > Hi, > > > > > > Hiya Immo welcome aboard. > > > > > > I was planning to do some work on syntax highlighting tommorrow ( Sunday > ). > > > If > > > you've already merged to trunk for the new release this won't be a > problem > > > otherwise > > > I can commit to branches/tony if you think it'll get in the way - let me > > > know. If I > > > don't hear from you in time I'll work in my branch. I'll merge from > trunk > > > and > > > branches/devel first so it should be up to date anyway and not cause you > too > > > many > > > problems. > > > > > > btw. My name is Tony Dann and if you put that in the contributors file > > > rather > > > than Tony007 that would be fab. > > > > > > Cheers, > > > tony > > > > > > > > > > > > On 01/12/06, Ian Larsen <dr...@gm...> wrote: > > > > > > > > Hello All, > > > > > > > > I'm preparing a new release for this weekend that will include our > > > > latest German translation and the variable watch window. I'm also > > > > going to be looking into setting up a nightly build process on > > > > Sourceforge so we can make snapshots of the subversion repository > > > > available. > > > > > > > > Also, please welcome Immo to the team, who is our German translator. > > > > Immo, I've given you subversion access so you can get to the latest > > > > translation file whenever you need to. We do all of our work in the > > > > branches/devel directory, so that's where you'll find it. If you need > > > > any help let me know. You can commit right to that directory. > > > > > > > > -Ian > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > > your > > > > opinions on IT & business topics through brief surveys - and earn cash > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > > > Kidbasic-devel mailing list > > > > Kid...@li... > > > > > > > > https://lists.sourceforge.net/lists/listinfo/kidbasic-devel > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > > opinions on IT & business topics through brief surveys - and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > > _______________________________________________ > > > Kidbasic-devel mailing list > > > Kid...@li... > > > > https://lists.sourceforge.net/lists/listinfo/kidbasic-devel > > > > > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Kidbasic-devel mailing list > Kid...@li... > https://lists.sourceforge.net/lists/listinfo/kidbasic-devel > > > |