-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
scripts: Allow modifying console font #5069
Conversation
addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ScriptConsoleOptionsPanel.java
Show resolved
Hide resolved
addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ScriptConsoleOptionsPanel.java
Show resolved
Hide resolved
addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ScriptConsoleOptionsPanel.java
Show resolved
Hide resolved
|
||
<h3>Font Name</h3> | ||
<p>Set the name of the font used in the script console. | ||
The default font is <code>Monospaced</code>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a default (base install) font across Windows and MacOS as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. From https://docs.oracle.com/javase/tutorial/2d/text/fonts.html#logical-fonts,
These fonts are available on any Java platform and can be thought of as aliases for some underlying font that has the properties implied by its name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh okay. I had looked at some other docs for Windows but if it's an alias name then that makes more sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tweaked this for clarity.
addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ScriptConsoleOptions.java
Outdated
Show resolved
Hide resolved
addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ScriptConsoleOptions.java
Outdated
Show resolved
Hide resolved
addOns/scripts/src/main/java/org/zaproxy/zap/extension/scripts/ScriptConsoleOptionsPanel.java
Show resolved
Hide resolved
Signed-off-by: ricekot <github@ricekot.com>
Addressed review comments. |
Thank you! |
Overview
Provide options to allow editing the font name and size used in the Script Console code editor.
Related Issues
Checklist
./gradlew spotlessApply
for code formatting