jenkins-contrib-themes / jenkins-neo-theme

A modern flat theme for Jenkins
http://jenkins-contrib-themes.github.io/jenkins-neo-theme/
352 stars 94 forks source link

Not compatible with text box in Pipeline job #19

Open nbalagopal opened 8 years ago

nbalagopal commented 8 years ago

Jenkins version: 1.654 Job type: Pipeline

The textbox for this job type is "special" with code assist and line numbers. The cursor is in this text box is displayed offset by about 4-5 characters. For example, if the cursor is displayed at position 5 and I type something, chars actually are added at position 1.

slide commented 8 years ago

I think the problem is with the following: https://github.com/jenkins-contrib-themes/jenkins-neo-theme/blob/master/less/style.less#L12. The ACE Content Editor only supports monospaced fonts. Perhaps there could be something that stops using the font when the class is ace_content?

hayderimran7 commented 7 years ago

same issue, i searched and found the reason http://stackoverflow.com/questions/15183031/ace-editor-cursor-behaves-incorrectly