srchub

Issue 74: Syntax highlighter slow


Reported by Natalie Adams, Dec, 21 2014 1:42:42 PM

The syntax highlighter javascript can be slow to load on large 
amounts of code.

Comment 1 by Natalie Adams, Dec, 21 2014 1:46:50 PM

This is due to a line wrapping function I added that would fix some 
display issues if the line of code was really long.

I removed that code and made some slight adjustments which include:

* To turn off the syntaxhighlight - you need to triple click. I've 
found myself double clicking to select a word which would turn off 
the syntax highlighting. I have also adjusted the resulting text 
area to be: read only, not automatically have focus and highlighted 
(which caused the page to jump and you lose your place)
* po extension is now text/plain

Comment 2 by Natalie Adams, Dec, 21 2014 1:49:39 PM

related to ticket 75
Relations: is related to 75

Comment 3 by Natalie Adams, Dec, 21 2014 1:54:37 PM

Fixed in 7a8b6343f85e60e663e089aece9530322bf61ea4

Comment 4 by Natalie Adams, Dec, 21 2014 1:54:52 PM

Status: Fixed

Created: 10 years 17 hours ago by Natalie Adams

Updated: 10 years 17 hours ago

Status: Fixed

Owner: Natalie Adams

Labels:
Type:Defect
Priority:Medium

This issue is related to
75 - All...ter settings per project

Page rendered in 0.04300s using 50 queries.