You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you type EDIT to get to the built-in editor, the text cursor is black no matter what the text foreground and background colors are set to. With the default white text on black background, that results in an invisible cursor. Changing the text background with SETTEXTCOLOR to something non-black worked, and allowed me to have a visible cursor in EDIT mode, but I'd rather find a permanent solution.
I've looked through the wxWidgets documentation and can't find any way to set the text cursor color (!), so for now in my own copy of UCBLogo I've applied the following patch to change the editor colors to black text on gray background:
That works for what I need it for, but it's less than ideal as a general-purpose as it removes the possibility of customizing the colors in the editor via SETTEXTCOLOR. If anyone knows how to change the color of the blinking text cursor that wxWidgets draws, that would be a better solution to this issue. (Note that #11 would probably also have been fixed by this and #12 would have been unnecessary; the cursor was probably invisible because it was being drawn in black against a black background).
The text was updated successfully, but these errors were encountered:
Probably caused by wxWidgets/wxWidgets#18722. My current system has wxWidgets 3.0.5 on it, where that bug exists. I see that wxWidgets/wxWidgets@2197f9d fixes the bug, at least for the wxGTK version (which is what I have), and that commit was incorporated into wxWidgets 3.1.4. So there are probably no code changes needed in UCBLogo, as long as a suitably recent version of wxWidgets is installed.
I'll leave this bug report open until I can confirm that wxWidgets 3.1.4 or later fixes the bug, then I'll close the issue once I'm certain that no change in UCBLogo will be necessary.
if you type EDIT to get to the built-in editor, the text cursor is black no matter what the text foreground and background colors are set to. With the default white text on black background, that results in an invisible cursor. Changing the text background with SETTEXTCOLOR to something non-black worked, and allowed me to have a visible cursor in EDIT mode, but I'd rather find a permanent solution.
I've looked through the wxWidgets documentation and can't find any way to set the text cursor color (!), so for now in my own copy of UCBLogo I've applied the following patch to change the editor colors to black text on gray background:
That works for what I need it for, but it's less than ideal as a general-purpose as it removes the possibility of customizing the colors in the editor via SETTEXTCOLOR. If anyone knows how to change the color of the blinking text cursor that wxWidgets draws, that would be a better solution to this issue. (Note that #11 would probably also have been fixed by this and #12 would have been unnecessary; the cursor was probably invisible because it was being drawn in black against a black background).
The text was updated successfully, but these errors were encountered: