ActiveState Community

OS X Tiger ( PowerPC / Intel )

Folding HTML

I just started using Komodo Edit and am really enjoying it. One thing I can't quite figure out is how it decides where to fold HTML code. It seems to me that it folds from the first opening tag of a line to include the line of its closing tag. I think my confusion stems from including multiple opening or closing tags on one line. Can anyone confirm this or are there other folding criteria for HTML?

Thanks!

Mac OSX (10.5.8) and Komodo 3.5 License Issues

Intel Powerbook, Mac OSX, and Komodo 3.5 (my school only has a license for this)

It says the license installs correctly, and it is indeed in the application support folder (the one under my user directory, but I also tried moving it to the global one, yet when I start Komodo (tried both personal and professional versions) it gives me the no license message.

Any help would be appreciated, my professors are baffled.

morekomodo, how to change an entity?

Hi to all,
first post here.

Just a question...
does it possible (and how to do if yes) change an entity in morekomodo?

Morekomodo is converting the apostrophe into *& apos;* (I put a space so it's not converted into *'* in the post).
I should prefere to have it converted into *& rsquo;*, does it possible?

I apologize since now if I did a stupid question :-)
I'm a newbie.

Many thx in advance.

Ciao!

.....
jo

Make Active Project, from the Projects sidebar or menu, and open files

Hi

Is there a way to get Make Active Project to act in the same way as opening a project?

When opening a project it is possible to have the files, that were open when the project was closed, opened once again (I like this). However, when Make Active Project is chosen nothing seems to happen/change.

all the best
Dave

Unable to get modules in Perl's @INC in Komodo IDE

Since I upgraded to the latest version of Komodo IDE (5.1), I am unable to get autocomplete or syntax checking to work using modules within my application's perllib directory to work. There is an error where the first module from these libraries is 'use'd in any file.

I have added the directory to the editor's perl path, and this has no effect. I tried upgrading to the nightly build (currently running 5.1.4) and it still won't work.

This is a real problem for me, as I depend on syntax checking as I edit. Please help.

problem with raw_input() command

Hello, I'm writing becauase I use Komodo, but now I want to usa the command raw_input(), with this two easy code:

Prompt = "What's your name? "
prova = input(Prompt)

Inserimento = raw_input()
print Inserimento

When I use this I want that the code aske me, "What's you name?"
But It not asking me this and when I run one of those code, they are not asking me but waiting with out ask.
If I write something like "Mark" komodos white :
Mark
What's your name?Mark

Where are the wrong?
Hope you can help me, thank you

CPU Usage

I'm sitting here watching the CPU usage of Komodo on my mac mini and it's staying at around 50% usage.

Seems rather high since I'm not doing anything with Komodo at the moment.

Is that normal?

G-Man

Getting Comments filled in for you in PHP

When I was on windows I used a program called SlickEdit.

This had a feature where I could type '/**' and it would automatically fill in a php doc for the function.

If the function had parameters it would also put those params into the doc statement.

So something like:

function _ValidateSiteType($SiteType)

would become:

/**
* Look at the site type provided. If it is not Wordpress,
* custom or normal then throw an exception.
*
* @author GeoffreyF67 (4/7/2009)
*

Perl testplan doesn't really work

I created a very basic Makefile to run tests against several perl modules. When starten from a shell it looks perfect but the builtin Komodo testplan doesn't work as expected:

The example testplan has 4 checks. All of them succeed on the shell. When using the Makefile the first element is "Information" containing **** Unrecognized input: /usr/bin/perl ./XYZ.t

The first check shows the correct output generated but all following have an empty Details block. Even if i make one of the tests fail i don't see the output.

install failed

I have just installed ActivePerl 5.10 ActiveTCL8.5.6 and the Xcode onto the OS X 10.4.11, but all I get when I try to "use Tk;" is
perl try1.pl
Can't locate Tk.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at try1.pl line 3.