I tried Load in "Create Regular Expression" Dialog,
Traceback (most recent call last):
File "C:\Eigene Dateien\python\drpython\drRegularExpressionDialog.py", line 34
3, in OnLoad
dlg = drFileDialog.FileDialog(self.parent, "Load Regular Expression From", w
File "C:\Eigene Dateien\python\drpython\drFileDialog.py", line 368, in __init_
self.cboFile = wx.ComboBox(self, self.ID_FILE, size=wx.Size(500, -1), choice
AttributeError: 'drFindReplaceDialog' object has no attribute 'recentfiles'
Same in Save.
This dialog is very helpful, but until now,
I haven' used it very often.
I'm a little insecure in regular expression:
What do you think of a text field, where you
can paste some test text, an try out the
regular expression immediatly.
This could be really useful, I think.
And a button "Test" for starting the examination.
I think, I have somewher seen such a tool,
but I cannot remember, where.
The founded text could be marked with a different
This is not a feature request yet, only a thought.
Thanks for the bug report, I'll cook something up.
In terms of testing, here are my thoughts.
I test regular expressions all the time, but I use the find dialog to do so on a test document.
The problem is you really cannot use a generic test document, because the specific regular expression you are looking for may not apply.
Although I can imagine a dialog with the regex on the top, and a stc on the bottom, and when you click "Test", it highlights the matches in the text below.
(Plus it will remember the text that is there, so you could edit it, or have something generic).
I will take a look at that after 3.6.0.
>Although I can imagine a dialog with the regex on the
>top, and a stc on the bottom, and when you click
>"Test", it highlights the matches in the text below.
Yes, this is what I meant, this would be useful
and in stc, the founded text can be colored are
>I will take a look at that after 3.6.0.
This would be cool, thanks.