From 9c4a74c40651788f0cee5a3e68c688669d203e5c Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 17 Sep 2013 09:14:47 +0100 Subject: [PATCH] Tab margin offsetting and autocomplete setting Tabs now have -1px left margin to offset 1px left border Heading moved to side panel and some line breaks removed, to make way for new setting Autocomplete setting added, options for ctrl+space and keypress ctrl option on this and also tag wrapper command now show as ctrl/cmd Change margin-left value on change of visible tabs setting --- lib/settings-screen.php | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/lib/settings-screen.php b/lib/settings-screen.php index 22889e1..31fbf8a 100644 --- a/lib/settings-screen.php +++ b/lib/settings-screen.php @@ -14,7 +14,7 @@ .CodeMirror {position: absolute; width: 409px; height: 240px; font-size: } .CodeMirror-scroll {overflow: hidden} /* Make sure this next one remains the 3rd item, updated with JS */ -.cm-tab {border-left-width: ; border-left-style: solid; border-left-color: rgba(255,255,255,0.2)} +.cm-tab {border-left-width: ; margin-left: ; border-left-style: solid; border-left-color: rgba(255,255,255,0.2)} @@ -38,8 +38,9 @@ for ($i=0;$i +

settings

+

-

version:
v

@@ -64,7 +65,7 @@ for ($i=0;$i -



+

ICE coder by Matt Pass (@mattpass)

Free to use it for your own purposes, commercial or not, just let me know of any cool uses or customisations. :)

@@ -87,7 +88,6 @@ for ($i=0;$i
-

settings

functionality

> check for updates on load
> auto open last files on login
@@ -102,10 +102,16 @@ when finding in files, exclude:
> locked nav

tag wrapper command


+auto-complete on
+
+

security

new password 8 chars
@@ -232,6 +238,7 @@ var showHideTabs = function() { cMCSS = document.styleSheets[2]; cMCSS.rules ? strCSS = 'rules' : strCSS = 'cssRules'; cMCSS[strCSS][2].style['border-left-width'] = document.settings.visibleTabs.checked ? '1px' : '0'; + cMCSS[strCSS][2].style['margin-left'] = document.settings.visibleTabs.checked ? '-1px' : '0'; } var validatePasswords = function() {