|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #56114] GUI should gray out Editor options in Window Menu when Qscintilla is not present |
Date: | Mon, 27 May 2019 15:00:19 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #2, bug #56114 (project octave): We could make it conditional on whether the window was constructed. The code will then look very much like C where you have to check the validity of the pointer every time before you use it. I don't imagine that we are going to support very many foreign embedded editors. Wouldn't the code look cleaner if we just used the singular #ifdef. It would be in one place so that if we ever add additional editors it would be a trivial change to add it to the #ifdef. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56114> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |