I have installed JIRA 5.0.3 and I added the JIRA Syntax Highlighter plugin latest version 1.5.1. I disabled {code} and {noformat} following the installation guide.
I tried adding {code:sql} sections and as you can see in the screenshot below, it always has vertical scroll bars displayed (and the last line is usually slightly cut by a couple of pixels). I tried with other sections such as {code:java} but the same situation occurred.
Can you please tell me how can I correct the display issue ?
Sorry, you were talking about the vertical scrollbars.
Don't see any idea how to fix...
Kind regards
Holger
the issue was zoom related. The zoom was set to 110% instead of 100% and therefore the lines appeared.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Meanwhile I have released JIRA Syntax Highlighter version 2.1.1 which has a fix for vertical scrollbars.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The plugin is not doing any line breaks. And your lines 2 and 3 are quite long, so the scrollbar is added. Just add manual line breaks.
Kind regards
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add a small bug here: https://bitbucket.org/hski/syntaxplugin-public/issues?status=new&status=open or fix it. There might be a problem when calculating the height of the region.
https://bitbucket.org/hski/syntaxplugin-public/src/8bf2e974bfd0/src/main/resources/scripts/shCore.js
Edit: or with the style. pad it more ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.