Why do scrollbars always appear in the Syntax Highlighted sections ?

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 ?

3 answers

1 accepted

This widget could not be displayed.

Sorry, you were talking about the vertical scrollbars.

Don't see any idea how to fix...

Kind regards

the issue was zoom related. The zoom was set to 110% instead of 100% and therefore the lines appeared.

Meanwhile I have released JIRA Syntax Highlighter version 2.1.1 which has a fix for vertical scrollbars.

This widget could not be displayed.

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.


Edit: or with the style. pad it more ...

This widget could not be displayed.

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


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

425 views 3 17
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you