I am evaluating zeus for use on a large body of python code and have found what appears to be a couple of bugs/issues:
#1: It does not handle """ properly, it treats them as a single quoted string with the single quote character, so for example a python block as follows:
"""
Some comments etc.
"""
does not get syntax color highlited properly. Either treating it as a block comment or as a second type of string literal would be nice.
#2: auto-indentation does not seem to work when typing a block in python, so if I type the following:
if some_check:
after pressing return after typing the :, it indents at the beginning of the if I would expect it to indent 4 spaces or whatever my indent setting is set to.
Pardon if there are some settings to address these, I did not find any right away.
python issues
Unfortunately at present Zeus does not support triple quoted string#1: It does not handle """ properly, it treats them as a single quoted string

#2: auto-indentation does not seem to work when typing a block in python
I did manage to configure this using the templates section of the Document Type.
This is what I did:
- Options, Document Types
- Edit the Python Document Type
- Change to the Templates section
- Delete Brace Prefix entry (ie {[(<)
- Delete Brace Postfix entry (ie }])>)
- Define : as the Brace Prefix String
- Apply the changes
Code: Select all
if some_check:
the cursor should be automatically indented by one tab space.
You posting has highlighted a slight bug in the softwarePardon if there are some settings to address these, I did not find any right away.

Unfortunately to get this to work the brace prefix and postfix strings need to be deleted which has the unfortunate side effect of breaking the auto indenting and brace matching for of these characters

This bug will be fixed in the next update

Cheers Jussi
The latest Zeus patch now has support for Python triple quotes 
To enable this features you need to edit the Python document type and in the Keywords section, enable the triple quotes option.
Cheers Jussi

To enable this features you need to edit the Python document type and in the Keywords section, enable the triple quotes option.
Cheers Jussi
You said, that the problem is fixed. So I did not remove the Brace Prefixes/Postfixes but simply added : to the Brace Prefix String.
If I do the following construct:
the cursor gets positioned allright after MyClass: but after (self): it gets positioned below the 'def'.
It should be intended by a full tab however. Did I miss something ?
Edit:
Persists with 3.96i, added : to the Prefix as seen in the 3.96i original settings. (I copied my old settings over).
If I do the following construct:
Code: Select all
class MyClass:
def __init__(self):
It should be intended by a full tab however. Did I miss something ?
Edit:
Persists with 3.96i, added : to the Prefix as seen in the 3.96i original settings. (I copied my old settings over).
There is a bug in Zeus in that it is not correctly detecting the Python indent pointIt should be intended by a full tab however. Did I miss something ?

The indent point is define by the : character but unfortunately because there is no space before the : it is not being detected.
For example if the code had looked like this then the indenting would have worked just fine:
Code: Select all
class MyClass :
def __init__(self) :
In any case this bug will be fixed in the Zeus next patch

Cheers Jussi
This bug should be fixed in the latest Zeus 3.96j patch found here: http://www.zeusedit.com/forum/viewtopic.php?t=1251
Cheers Jussi
Cheers Jussi