-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.find_output_panel( "console" )
returns None
instead of the Console output view
#2929
Comments
Not all panels are output panels. In particular, the console is not an output panel. |
As @Thom1729 mentions, the API that currently exists is working properly. In your case, it sounds like you should rephrase your bug as a feature request. That said, it may not be a simple addition on our side since I know in the past we've found that modifications to the console can easily deadlock as ST tried to write error messages to the console when the user tries to modify the console's settings. |
May be the console could use its a dedicated setting file. Then, instead of giving me the Looking around, I saw there is already a |
You should probably rewrite that in a new issue (ability to query for the console's view object/to specify the console widget's setting) because this one now is totally about something else. |
I split this into two new issues just referenced above here. |
Description
I would like change the font size of the console independent from the rest of the window, or from other windows, i.e., without changing the font-size globally. But when running
print( window.find_output_panel('console') )
, it returnsNone
.Currently the only way to change the console font-size is changing it globally on the user settings.
Steps to reproduce
print( window.find_output_panel( "console" ) )
Expected behavior
As
window.run_command( "show_panel", { "panel": "console" } )
opens the console,the command
print( window.find_output_panel('console') )
should get the console output view too.Actual behavior
window.run_command( "show_panel", { "panel": "console" } )
opens the console,but the command
print( window.find_output_panel( "console" ) )
does not get consoleoutput view.
Environment
10 build 15063 x64
1920x1080
1.0
3207
The text was updated successfully, but these errors were encountered: