CF8 in Notepad++ (Continued)

October 13, 2007

I’ve uploaded a new package to:

It includes a chm for CF8 help, the bulk of the size. It’s servicable, but the conversion from html to chm was not perfect.

It includes a script for Inno Setup, which I won’t be able to get back to for a while, so if someone is interested in picking that up, feel free. Otherwise, I’ll get to it when I get to it.  I have it kind of working but for a setup package, that’s really not good enough, and there is a lot more work to be done on it.

The key items of interest are:

1) The shortcuts.xml has a line for launching keyword sensitive help right from the editor to Adobe’s LiveDoc’s or to the local help file. I had to bump the php help off of the F1 key for my own setup, but feel free to do whatever you wish. CTRL-F1 and ALT-F1 launch the help, and highlight the keyword. The shortcuts.xml file needs to be in the folder with your Notepad++.exe, default is C:\Program Files\Notepad++\

2) The keywords themselves are identified in the a\apis\coldfusion8.api file.

3)  The (User App)\Notepad++\InsertExt.ini needs to contain regular expressions to mark the beginning and ending of a function, and how to pick out the function name.  These will show up on the function list, so you can click on the function name and jump straight to it.

[User Languages]
Count User Languages=2
Name 1=ColdFusion8
KeyWBodyBeg 1=
KeyWBodyEnd 1=
MatchCase 1=0
Count Comment 1=3
Comment P1.1.1=
Comment P1.2.1=
Comment P2.2.1=
Count Syntax 1=2
Syntax P1.1.1= Syntax P2.1.1=\"\t.*\>
Syntax P3.1.1=[A-Za-z]*
Syntax P4.1.1=
Syntax P5.1.1=
Syntax P6.1.1=
Syntax P1.2.1=cffunction[\t ]*name[\t ]*\=[\t ]*\"
Syntax P2.2.1=
Syntax P3.2.1=[A-Za-z_]*
Syntax P4.2.1=
Syntax P5.2.1=
Syntax P6.2.1=

4)  Finally, our old friend, UserDefinedlanguages.xml, needs ColdFusion8 set up inside of it.  Basically, you take the contents of UserDefinedLanguages_Coldfusion8.xml, and insert it into the appropriate area inside of the real/active UserDefinedLanguages.xml.  This also sits in the (User App) folder, which is, for me, C:\Documents and Settings\Howard\Application Data\Notepad++\, so yours will be something like that.

I’m posting this over with the Notepad++ people, and will followup there.

For InnoSetup, information can be found at:    – The extension to InnoSetup, which adds some good stuff.    – The base InnoSetup package.

Hopefully, it will be helpful to someone.  I just enjoyed the diversion for a few hours.


Linux for the Masses?

October 7, 2007

It wasn’t but five or six months ago that I was struck with the sense that it was doubtful that my next computer would be Windows based. There were several reasons for this, and I will try to sum it up quickly without sliding into the sanctimonious sophistry of the sheepherders, who bash Windows for breakfast. And first, I will say that I have some hope that Microsoft will step up and do something to save their products from continued decay, as they were once very good. But wishes are not horses. With internet explorer, Microsoft has had to make the bitter decision between backward compatibility and compliance with standards. A good strategist would have seen the third choice, but they didn’t have one on board when these decisions were made. In choosing to opt for backward compatibility, they have kept open a welcome mat, from the Internet, to an unacceptable number of security risks. I have seen way too many computers, in the past year, plagued with problems created by IE. And the add-on products which were supposed to lock things down failed to address these issues fully, and added problems of their own. Despite their performance in the courtroom, uninstalling IE is a chore.

It seems Microsoft’s concerns have drifted away from the user, and they have become focussed almost solely on their shareholder’s numbers. I noticed, with some chagrin, that the latest my file manager in windows now has a little menu option that says “Is this copy of Windows legal?” Yes, it is, Microsoft. I have the receipt. I have the license key. I’ve hit page down hundreds of times on your legal agreements that relinquish my rights to any sort of complaint for any problem you might cause, keeping an eye out for that clause about my first born, and intellectual property rights to my DNA.

More apropos, “Is this copy of Windows necessary?”

As a developer, I watch as more and more make the mass migration to Apple and OS/X. I have observed the same with non-developer users. And I have had the odious task of watching my wife suffer Windows Vista. The writing seems to be on the proverbial wall. The limits of the 32-bit operating system are being hit, the 4 Gig limit is no longer theoretical, XP64 or Vista Super Deluxe being the Windows options, it is going to be necessary to make an Operating system change in the coming months, regardless of Microsoft’s policies and corporate direction. Virtualization is another trend, which removes some of the barriers of switching operating systems.

The first thought was that I would switch to OS/X, Apple, Macintosh, and that still may happen. But the volume of Linux distributions has led me give it some consideration. A few months remain, maybe even a year, before I absolutely have to make a decision.

Linux options include, the most popular, Ubunto (based on Debian), targetted for the home desktop. Flavors include Kubuntu, Edubuntu, and XUbuntu.

Ubuntu 7.10 - Coming soon

Open Suse, another distro with Ease of Use as a goal:

Fedora, the Red Hat distribution, targetted more at the business desktop:

And a slough of others. If you haven’t, take a peek at DistroWatch:

Flex Builder Plugin for Linux – Alpha

October 6, 2007

I was pretty excited to see that Adobe has Flex Builder for Linux on their labs page.

I was wondering what I was going to do with all my free time. I run dual boot (dual hard drive) Windows XP and Ubuntu Linux. I have Eclipse set up, but it was at version 3.2, so I had to upgrade it to 3.3, make sure the classpath was set for Java 1.5. The following teminal line was helpful in keeping that manageable:

sudo update-alternatives --config java

Nowdays, with the package installers and all of the helpful people on the net, it does not take a rocket scientist to set up Linux (but it’s always nice to know one, just in case you run into trouble on re-entry!) and have XWindows running. The package installers aren’t 100% there, so there is always a little bit of file tweaking required.

Flex Builder Alpha for Linux

More later…

HTML embedded in Flex

October 6, 2007

This has been out in the wild for a while, but it is interesting to note that Flex can run inside of html embedded in Flex.  With AIR (Apollo) , the html inside of Flex problem has been more than solved, but some environments can’t or won’t run AIR on the desktops.

HTML in Flex