Which version of eric do you use ?
Your example works fine for me with the last snapshot.
++
Jul.
Douglas Soares de Andrade wrote:
Hi !
The following code is making eric3 shuts a error message.
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
num1 = int(raw_input("Inform the first number: "))
num
I've heard lots of good things about eric3 (python editor) and so
installed it a couple of days ago.
However, it's virtually unusable because the fonts in the main editor
window are extremely ragged/chunky. It appears as though anti-aliasing has
been turned off, but I can't find anywhere to tog
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Solly Brown wrote:
| I've heard lots of good things about eric3 (python editor) and so
| installed it a couple of days ago.
|
| However, it's virtually unusable because the fonts in the main editor
| window are extremely ragged/chunky. It appears as tho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello list,
there is now a decent (at least to my opinion) Debian package of the latest
eric3 snapshot available. You can get it from
http://www.diotavelli.net/files/eric3
Please test it and give me some feedback.
Once eric 3.5 gets released, the packag
Hi.
I've read the book but I'm very confused with the parent/addWidget() stuff.
For example, we usually have something like this in a simple case.
W=Widget (parent)
parent.addWidget (W)
However suppose we have this in the main window:
A HBoxLayout(H1) which contains a ButtonGroup (B1) which
contain
Hi,
this is to inform all of you, that I have uploaded a new snapshot of eric3.
This one is meant to be the last snapshot before the final release. If no
critical bugs are reported, I am planning to release version 3.5 next
weekend. Please give this snapshot a try and report all problems. It is
On Sat, 25 Sep 2004, Torsten Marek wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Solly Brown wrote:
| I've heard lots of good things about eric3 (python editor) and so
| installed it a couple of days ago.
|
| However, it's virtually unusable because the fonts in the main editor
| window are
Hi there.
I'm trying to implement a HTML tag highlighting in QTextEdit
I've subclassed the QSyntaxHighlighter and QTextEdit like this:
class qh(QSyntaxHighlighter):
def __init__(self, edit):
QSyntaxHighlighter(edit)
def highlightParagraph( text, lastPara ):
I heard Solly Brown said:
> In fact, the fonts in the
> menu-bar, tabs, and dialogs in eric3 are perfectly ok too... for some
> reason it's just the main text editing window/widget in eric3 which
> seems unable to produce anti-aliased text.
Hello Solly!
Okay, could you maybe upload a screenshot
Sorry...
The example i provided was right... It works well...
But this one not...
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
num1 = int(raw_input("Informe o número: "))
num2 = int(raw_input("Informe o 2º número: "))
See that im using portuguese with accents, and appers that the accents
On Saturday 25 September 2004 12:00 pm, Eli Yukelzon wrote:
> Hi there.
> I'm trying to implement a HTML tag highlighting in QTextEdit
> I've subclassed the QSyntaxHighlighter and QTextEdit like this:
>
> class qh(QSyntaxHighlighter):
> def __init__(self, edit):
> QSyntaxHighlighter(edit)
>
> d
Try passing "self" into the constructor of the base class (ie. __init__
method) in the constructor of your derived classes.
Change this:
QSyntaxHighlighter(edit)
to:
QSyntaxHighlighter.__init__(self, edit)
and:
QTextEdit(parent,name)
to:
QTextEdit.__init__(self,
I'm trying to make one button click set the text to "hi" on all four LineEdits
in the code below. So far I'm able to pass the string "hi" to the function
set() in the class MyLineEdit but it will not set the text of the LineEdits.
What am I doing wrong?
I'm not a programmer. I just found PyQt
> Actually, as I mentioned before, if I switch on "use mono-spaced font" in
> eric3 then the anti-aliasing magically appears (only for the current file,
> and only mono-spaced). Something wacky going on there...
I had a similar problem and simply resorted to monospace (which I prefer
for program
I'm a little rusty, but try this:
def setLineEdit(self):
self.le0.set("hi")
self.le1.set("hi")
self.le2.set("hi")
self.le3.set("hi")
On Sat, 2004-09-25 at 10:16, Bill Burns wrote:
> I'm trying to make one button click set the text to "hi" on
When checking in a file to CVS, we get a dialog asking for the commit
message. Normally what I do is I do a diff for the whole project to see
which files have changed and how, and keep this diff open while checking
in each file. However, the commit dialog is modal, and that makes it
awkward t
Awesome! Thanks everybody!
On Sat, 25 Sep 2004 06:51:26 -0700 (PDT), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Try passing "self" into the constructor of the base class (ie. __init__
> method) in the constructor of your derived classes.
>
> Change this:
> QSyntaxHighlighter(edit)
On Saturday 25 September 2004 10:28 am, Michael Andrews wrote:
> I'm a little rusty, but try this:
>
> def setLineEdit(self):
> self.le0.set("hi")
> self.le1.set("hi")
> self.le2.set("hi")
> self.le3.set("hi")
>
Michael,
Thank you this works and it gets me in th
On Saturday 25 September 2004 11:46 am, Bill Burns wrote:
> The original code again:
Sorry...that wasn't the original code I had first posted!! I made Michael's
changes and added a change of my own and sent the wrong one..
Here is the original code that I had first posted:
#!/usr/bin/env pyt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Burns wrote:
| On Saturday 25 September 2004 10:28 am, Michael Andrews wrote:
|
|>I'm a little rusty, but try this:
|>
|>def setLineEdit(self):
|>self.le0.set("hi")
|>self.le1.set("hi")
|>self.le2.set("hi")
|>sel
Hi,
I'll put it on the wishlist for the 3.6 development, but won't promise
anything right now.
Detlev
Am Samstag, 25. September 2004 16:49 schrieb Mike C. Fletcher:
> When checking in a file to CVS, we get a dialog asking for the commit
> message. Normally what I do is I do a diff for the whol
Hi,
I have just uploaded a fix for this problem. However, it think the real
problem is somewhere within QScintilla, which dies, if it is in UTF-8 mode
and fed with a string, that is encoded differently and contains non-ascii
characters.
Regards,
Detlev
Am Samstag, 25. September 2004 14:45 sch
Hi,
this is to inform all of you, that I have uploaded a new snapshot of eric3
again. It fixes a bug (?) causing QScintilla to crash it. Please give this
snapshot a try and report all problems. It is available via the eric3 site.
http://www.die-offenbachs.de/detlev/eric3.html
--
Detlev Offenba
Torsten wrote:
> Try something like this (solution 1):
>
> class MyLineEdit(QLineEdit):
> ~# keeps track of all instances of MyLineEdit,
> ~# but is buggy if instances are removed
> ~allinstances = []
> ~def __init__(self, parent):
> ~self.allinstances.append(self)
> ~
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Detlev Offenbach wrote:
| Hi,
|
| this is to inform all of you, that I have uploaded a new snapshot of eric3
| again. It fixes a bug (?) causing QScintilla to crash it. Please give this
| snapshot a try and report all problems. It is available via the e
Checking out a project from CVS, I selected "yes, create a new project
file", and was told that the (newly created) project file had invalid
contents, clicked on Abort (only option) and received this error:
[XML Parse messages]
Fatal Error
/home/mcfletch/pylive/twistedsnmp/TwistedSNMP.e3p
Line:
Realised after sending that I should check other projects, and sure
enough, a project workspace (e3s) file also produces a DTD-reference
parse error:
Fatal Error
/home/mcfletch/pylive/simpleparse/simpleparse.e3s
Line: 2, Column: 44
Couldn't open resource '/home/mcfletch/pylive/simpleparse/Sessio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike C. Fletcher wrote:
| Realised after sending that I should check other projects, and sure
| enough, a project workspace (e3s) file also produces a DTD-reference
| parse error:
|
| Fatal Error
| /home/mcfletch/pylive/simpleparse/simpleparse.e3s
| Lin
Torsten Marek wrote:
...
eric sets the paths for the dtds itself.
I have an eric3config.py file that points to the correct directory:
[EMAIL PROTECTED]:~/pylive$ cat eric3config.py
# -*- coding: utf-8 -*-
#
# This module contains the configuration of the individual eric installation
#
_pkg_config =
29 matches
Mail list logo