Saturday, May 29, 2010

CodeAssistor on Windows coming along nicely


Folding/colourizing/etc all major features that the Mac version supports are supported in windows now with the exception of

- shortcut keys
- find/linegoto.

Here is a screeny of Windows and Mac side by side.

Friday, May 21, 2010

CodeAssistor on Windows

CodeAssistor can now open files on windows... looks ugly as sin, but hey... thats windows for you.

Wednesday, May 19, 2010

CodeAssistor work on Windows

I've done some initial work (read VERY initial) for a windows port of codeassistor.

I've only got an editor window open now (no loading/saving/etc, no colourizing). Most of the work was on the makefile to get the project ready for development.

Sunday, May 16, 2010

Beware using google groups

Google groups just ate my homework. MotherFunk!

Neil has been doing some work with Lexers and released a zip file of his latest work on his website. His work wasn't compiling against MacOSX, so I took it upon myself to get the compiling/linking etc done. After about two hours I had everything running and zipped up my work and uploaded it to google groups (the scintilla interest group)

I deleted the file from my hd believing that google had safely stored the info... of course, Google funked up and the file cannot be retrieved.

GAHH.

Friday, May 14, 2010

CodeAssistor version 0-0-2

CodeAssistor version 0.0.2 has been released. This version includes CODE-FOLDING (wohoo!) and GOTOLINE functionality.

Sunday, May 9, 2010

CodeAssistor listed on the Scintilla "Related Projects" site

Neil has put the CodeAssistor onto his list of projects related to Scintilla

Happy Day!

http://www.scintilla.org/ScintillaRelated.html

CodeAssistor once again compiles against vanilla Scintilla-Cocoa

Mike Lishke has merged all of my changes (mullinpatches/mousewheel/makefilework) into the trunk of Scintilla-Cocoa. Version 66 of CodeAssistor will compile against Version 34 of Scintilla-Cocoa (lp:scintilla-cocoa).

Mike Lishke has also merged in all of Neil Hodgson's main scintilla changes + added some helper functions in the ScintillaView for Font changing and Text searching.

Looks like a good day as far as Scintilla-Cocoa goes :)

Saturday, May 8, 2010

Goto Line added to CodeAssistor

Hmmm... so thats why you do requirements analysis, because if you dont, you forget an important feature (like find... or like line-goto).

Im lucky this time. I was able to "tack on" Finding and line-goto w/o much hassle (its a homework task for my readers to see if my design could have been better if I had remembered these tasks).

Anyways. CodeAssistor now has the ability to Goto lines (CMD-G). interestingly I had to add an "owner" property to the upstream ScintillaView class. I had to add this so that Scintilla notifications would be percolated all the way up to the NSDocument (or NSObject if a Single document model is used) that controls the ScintillaView. I did this so that I could hide the Finder/Goto TextEdits when the ScintillaView regains focus.

Because of this change, revision 66 (and onwards) of CodeAssistor now _requires_ my mullinpatches (lp:~masmullin/scintilla-cocoa/mullinpatches) and will no longer compile against vanilla Scintilla-Cocoa. Previous to this, Vanilla Scintilla-Cocoa could have makefiles hacked up (my mullinpatches has some changes to the vanilla makefiles-which I supplied in the first place anyway) and work properly with CodeAssistor, Although I've fixed a few bugs in Scintilla-Cocoa that MikeLischke hasn't integrated yet, so you would want to use mullinpatches anyways.

The amount of divergence mullinpatches is from vanilla Scintilla-Cocoa is starting to worry me. Right now, I think it's still possible to do a pretty clean merge of mullinpatches onto vanilla since vanilla is static, but if other developers start fixing bugs on vanilla Im going to have an additional chore of updating my mullinpatches.

Not only that, but Im concerned that Scintilla-Cocoa isn't integrating changes from the main Scintilla code stored on sourceforge (eg there was some changes done by Neil Hodgson to the main Scintilla code just 3 days ago... these havn't made it into Scintilla-Cocoa).

Looks like Im going to have to get myself a good visual diff tool (gah, I dont really wanna fork over the cash for Araxis, but it's the supreme tool for this purpose).

Friday, May 7, 2010

Where do I find CodeAssistor?

Today Dave left a comment on my last post suggesting that I post links of where to find CodeAssistor... SOOOOO..... without further wait.

You can check out the source using bzr via "bzr branch lp:codeassistor"

You can download v0.0.1 executable @ http://launchpad.net/codeassistor/v0-0-1/v-0-0-1/+download/CodeAssistor-v0-1-1.zip

The project homepage is found @ https://launchpad.net/codeassistor

Note to anyone who wants to contribute: Launchpad and bzr make "drive by contributions" VERY VERY easy to do and offer some highly professional workflows (code reviews, bug-tracking, revision control). I highly suggest that all developers create themselves a launchpad account.

HINT FOR STUDENTS: If *I* were to go back to school again, I would ask my teachers if I could use Launchpad for all my coding projects.

Wednesday, May 5, 2010

The CodeAssistor released v0.0.1

I've released my first version of the CodeAssistor software. CodeAssistor is an extremely simple MacOSX code editor that works with c,cpp,cxx,h,m,mm,xc,java, and txt files.

Whats an .xc file you ask? Well because CodeAssistor will one day become cross platform I wrote a few helper functions to facilitate using either ObjectiveC code or C/C++ code (via #ifdefs). On Macs the .xc file will be compiled using -x objective-c++ and on other platforms can be compiled as c or c++ code.
With the help of these helperfuncs I've been able to keep the Scintilla Controller classes strictly c++ rather than Objective-C++, and therefore it will be easier to port to windows/linux.
Basically .xc stands for "Cross C"

I like using it a lot. It's my main editor now. I like creating it a lot. There are still LOTS of features to work on (anyone feel like helping? contact me at masmullin@gmail.com)

I released it under the BSD licence, so yeah... have at'er.