can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20389: LJSUP-10083: Add syntax highlighting to ...

Committer: dpetrov
LJSUP-10083: Add syntax highlighting to the s2 layers editor
U   trunk/htdocs/js/s2edit/s2gui.js
Modified: trunk/htdocs/js/s2edit/s2gui.js
===================================================================
--- trunk/htdocs/js/s2edit/s2gui.js	2011-10-20 07:59:19 UTC (rev 20388)
+++ trunk/htdocs/js/s2edit/s2gui.js	2011-10-20 08:16:37 UTC (rev 20389)
@@ -180,6 +180,8 @@
 
 function s2jumpToPos(pos, line)
 {
+	var main = s2getCodeArea();
+
 	nxpositionCursor(main, pos);
 	nxscrollObject(main, line, s2lineCount);
 }

Tags: can3p, dpetrov, js, livejournal
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments