ActiveState Community

Other Linux

cannot save preferences after changing color theme

Nice fresh install of Komodo Edit 5.2.1 on 32-bit Arch Linux. You can take a look at the install script if you want, but it's fairly normal.

I can change most of my prefs, and save them. If I change the color theme, however, clicking the ok button has no effect. pystderr.log says:

ERROR:xpcom:Unhandled exception calling 'int8 save();'
Traceback (most recent call last):
File "/opt/komodoedit/lib/mozilla/python/xpcom/server/policy.py",
line 277, in _CallMethod_
return 0, func(*params)

Minimal Install

I would like to install AP on a Linux embedded system
and so I'd like to minimize the disk footprint. I know
I can delete the man pages and the html help. What else
can I take out for a minimal perl install? How about
/lib/site_perl? Can I take anything out of /lib/5.x.x ?

PERL MODULE MANAGER

PERL MODULE MANAGER - perlmod Version 1.1.0
To Install perl modules and all dependent modules,Uninstall perl modules,List all perl modules in system,Search for a perl module in cpan.org and system,List all files of a perl module and Details of a perl module.

---------
Features:
---------

a) We can install any number of modules in a single command. Also all dependent modules of these modules insta
lled simultaneously.

b) Uninstall modules from the system

c) Print all files related to a module

d) List all perl modules installed in the system

perlapp and pod2usage

I have been reading conflicting reports of whether or not pod2usage can be made to work both from the perl command-line as well as from applications compiled with perlapp.
If it can be made to work, can someone send me a small sample application (the ones that I have seen do not work for me)?
Otherwise, can I get confirmation that this does not function and when this support might be added?

[newbie!] region highlighting and indenting whole buffer? (and a smal glitch)

Dear all,

Komodo is exactly the tool I had been looking for. I am not into huge, complex IDEs but appreciate the features of an excellent text-editor which supports languages involved in modern web development. My favorite editor, JED, seems to "language modes" for the languages in which I spend most of my time nowadays.

Two brief questions:

Build Error-OSError: [Errno 2] No such file or directory

After obtaining the Open Komodo source files, upon running:

python build.py configure -k 5.1 --moz-src=cvs --release --no-strip --tools

I get this output / error:


target: configure
Traceback (most recent call last):
File "build.py", line 3120, in
sys.exit( main(sys.argv) )
File "build.py", line 3116, in main
return build(args)
File "build.py", line 2940, in build
newArgv = targetFunc(argv)
File "build.py", line 1210, in target_configure
pi = platinfo.PlatInfo()
File "../util/platinfo.py", line 178, in __init__

Help: Breve templates support

I'm trying to add Breve template language (http://breve.twisty-industries.com) support. To start with i just want to highlight keywords and add folding of "[...]" blocks. So i use following code

breve-mainlex.udl:
# UDL for breve
family ssl
language Breve

#...
pattern CS = '\w_' # inside cset
pattern WS = '\s\t\r\n' # inside cset
pattern NMCHAR = '$CS'
pattern NMSTART = 'a-zA-Z_'
pattern OP = '~!@%^&*()-=+[\]{}\\|;:,.<>/?'

keywords ['html', 'head', 'title', 'h1', 'div', 'table', 'script', 'th', 'tr', 'td', 'inherits',
'override']

Developing a calltip/autocompletion

I'm using Komodo to write C and C++ programs in it, since it's my favorite editor for everything else I figured why not. I made a command for compiling and running my source code but something that I would like to have is code hinting or autocompletion. So I'm thinking of doing it myself, so basically the question is: Where do I begin if I want to add this to Komodo?

Snippets Question

I'm trying to create my own snippets and I was wondering if you could have the same text that is replaced in a tabstop in another place of your code inside the snippet, the user types foo in one place and it appears in another place as he is typing. Can this be done?
I'm using Komodo 5.0

Thanks.

ActivePython 2.6 and Tcl/Tk 8.5

Is it possible to use ActivePython with Tcl/Tk 8.5?

I am building a Python GUI generator and I feel that I very much want to have access to the ttk widgets and that means Tcl/Tk 8.5. I installed the package pyttk-0.2.6 and tried an example.

The following test in ttk.py:

# Verify if Tk is new enough to not need Tile checking
_REQUIRE_TILE = True if Tkinter.TkVersion < 8.5 else False

returned true. So my question is: how do I get support for the current version, 8.5, of tk? I have installed Tcl/Tk 8.5.4 on my machine running Mepis.