From 9dd309469cf5fb8a4f260130ef88c88b53ea6ee8 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 20 Apr 2013 16:49:34 +0400 Subject: [PATCH 1/5] fix typo in getFontSize --- lib/ace/editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/editor.js b/lib/ace/editor.js index aaacbf46..049f63d8 100644 --- a/lib/ace/editor.js +++ b/lib/ace/editor.js @@ -344,8 +344,8 @@ var Editor = function(renderer, session) { * Gets the current font size of the editor text. */ this.getFontSize = function () { - return this.setOption("fontSize") || - dom.computedStyle(ace.container, "fontSize") + return this.getOption("fontSize") || + dom.computedStyle(this.container, "fontSize"); }; /** From 12bb135b549bbaf681a21a4482987e3131d5f09e Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 20 Apr 2013 16:57:20 +0400 Subject: [PATCH 2/5] update perf-test.html --- tool/perf-test.html | 59 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 4 deletions(-) diff --git a/tool/perf-test.html b/tool/perf-test.html index 451c1b8a..ee8f6d0f 100644 --- a/tool/perf-test.html +++ b/tool/perf-test.html @@ -10,9 +10,13 @@ +
+
+
+ + + + + + + + + + + + + + + + + + + +
@@ -78,8 +82,11 @@ + + + @@ -95,7 +102,7 @@ - + @@ -109,8 +116,10 @@ + + @@ -238,14 +247,54 @@ - + +
+ + + +
+ + + +
+ + + +
+ + + +
+
+ +
+
-
+