Opened 12 years ago
Closed 10 years ago
#2264 closed enhancement (fixed)
OMEdit output windows
Reported by: | Lennart Ochel | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.9.3 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
I have some suggestions for the output window of OMEdit:
- I would like to minimize it for some reasons. This is currenty not possible.
- Also I would like to maximize the output window …
- I would like to show it again, after it was closed once.
- I would like to have some “search” (or even better “find”) feature, line numbers and syntax highlighting (at least for c code :-)).
- Why is there a “close” button? I guess that one can be removed to provide more space for interesting content.
Change History (8)
comment:1 by , 12 years ago
Milestone: | 1.9.0 → 2.0.0 |
---|---|
Status: | new → accepted |
comment:2 by , 11 years ago
follow-up: 4 comment:3 by , 11 years ago
Would it not be better to make the output window read-only?
comment:4 by , 11 years ago
Replying to lochel:
Would it not be better to make the output window read-only?
If I do so Martin will start complaining. Because the read-only windows doesn't have cursor :).
follow-up: 6 comment:5 by , 11 years ago
And what would be if you do some Gt magic to use a read-only window with text cursor? :-)
Also I would like to disable line wrapping for the output window. Can we link this with the settings of the Modelica text view?
follow-up: 7 comment:6 by , 11 years ago
Replying to lochel:
And what would be if you do some Gt magic to use a read-only window with text cursor? :-)
Also I would like to disable line wrapping for the output window. Can we link this with the settings of the Modelica text view?
It's not that easy to make read-only window with cursor. We have to override the keypress event and have to allow the specific keys like arrow keys, ctrl+A, Ctrl+C etc....In short all the read-only operations should be allowed only. It depends on how much we need this feature. In my opinion it is not so important to implement this.
Modelica text view settings are defined in the Options ModelicaTextSettings class. Yes, we can use them on the output windows. We need to create a base text editor class that uses the text editor settings and then we can derive the rest of the text editors from it. For the syntax highlighting we need to define a new CSyntaxHiglighter class.
comment:7 by , 11 years ago
Replying to adeas31:
Replying to lochel:
And what would be if you do some Gt magic to use a read-only window with text cursor? :-)
Also I would like to disable line wrapping for the output window. Can we link this with the settings of the Modelica text view?
It's not that easy to make read-only window with cursor. We have to override the keypress event and have to allow the specific keys like arrow keys, ctrl+A, Ctrl+C etc....In short all the read-only operations should be allowed only. It depends on how much we need this feature. In my opinion it is not so important to implement this.
Well, if it is too much work then we must not do it now.
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
3 is done in r23532.
I will not implement 4. You are welcome to write a new CEditor class and then implement a CSyntaxHighlighter.
Suggestion 1, 2 & 5 are implemented in r16593.