Show More
@@ -1,6 +1,8 b'' | |||||
1 | # encoding: utf-8 |
|
1 | # encoding: utf-8 | |
2 | """ |
|
2 | """ | |
3 | A Wx widget that deals with prompts and provides an edit buffer |
|
3 | A Wx widget to act as a console and input commands. | |
|
4 | ||||
|
5 | This widget deals with prompts and provides an edit buffer | |||
4 | restricted to after the last prompt. |
|
6 | restricted to after the last prompt. | |
5 | """ |
|
7 | """ | |
6 |
|
8 | |||
@@ -30,6 +32,7 b' import re' | |||||
30 | #------------------------------------------------------------------------------- |
|
32 | #------------------------------------------------------------------------------- | |
31 | class ConsoleWidget(stc.StyledTextCtrl): |
|
33 | class ConsoleWidget(stc.StyledTextCtrl): | |
32 | """ Specialized styled text control view for console-like workflow. |
|
34 | """ Specialized styled text control view for console-like workflow. | |
|
35 | ||||
33 | This widget is mainly interested in dealing with the prompt and |
|
36 | This widget is mainly interested in dealing with the prompt and | |
34 | keeping the cursor inside the editing line. |
|
37 | keeping the cursor inside the editing line. | |
35 | """ |
|
38 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now