From b64e1f258a59aec9e0d42e7314a90d0eb0355ad6 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 11 Oct 2014 02:38:06 +0400 Subject: [PATCH] experiment --- lib/ace/css/editor.css | 23 ++++++++++ lib/ace/layer/marker.js | 51 +++++++++++++---------- lib/ace/theme/clouds.css | 1 - lib/ace/theme/clouds_midnight.css | 1 - lib/ace/theme/cobalt.css | 1 - lib/ace/theme/dawn.css | 1 - lib/ace/theme/idle_fingers.css | 1 - lib/ace/theme/katzenmilch.css | 1 - lib/ace/theme/kr_theme.css | 1 - lib/ace/theme/merbivore.css | 1 - lib/ace/theme/merbivore_soft.css | 1 - lib/ace/theme/mono_industrial.css | 1 - lib/ace/theme/monokai.css | 1 - lib/ace/theme/pastel_on_dark.css | 1 - lib/ace/theme/solarized_dark.css | 1 - lib/ace/theme/solarized_light.css | 1 - lib/ace/theme/terminal.css | 1 - lib/ace/theme/textmate.css | 1 - lib/ace/theme/tomorrow.css | 1 - lib/ace/theme/tomorrow_night.css | 1 - lib/ace/theme/tomorrow_night_blue.css | 1 - lib/ace/theme/tomorrow_night_bright.css | 1 - lib/ace/theme/tomorrow_night_eighties.css | 1 - lib/ace/theme/twilight.css | 1 - lib/ace/theme/vibrant_ink.css | 1 - lib/ace/theme/xcode.css | 1 - 26 files changed, 51 insertions(+), 47 deletions(-) diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index be81f560..e7088b94 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -420,3 +420,26 @@ position: absolute; z-index: 8; } + +/*x = [] +for (var i = 1; i < 16; i++) { +x.push(".ace_br" + i + "{" + +(["top-left", "top-right", "bottom-right", "bottom-left"]).map(function(x, j) {return i & (1< next, row == end), + layerConfig, row == end ? 0 : 1, extraStyle); } }; @@ -134,7 +137,7 @@ var Marker = function(parentEl) { extraStyle = extraStyle || ""; stringBuilder.push( - "