Permalink
Browse files

Did not always display correct color scheme first time.

Now when distilled dark and light are different but both have the same background type (light or dark) both files are generated only in the background type directory.
Adjusted documentation to reflect above changes.
  • Loading branch information...
1 parent 6d2fb16 commit 84ec3fe382bd0b7edf96ef922bb8a5f389256b5f megaannum committed Sep 29, 2012
Showing 1,559 changed files with 12,050 additions and 6,698 deletions.
View
@@ -64,10 +64,10 @@ were pretty simple). Then using the distill.vim script, running it
from both Vim in and Xterm (the cterm configuration) and GVim (the gui
configuration) it generated the following number of color scheme files:
-* 486 cterm dark color scheme files
-* 290 cterm light color scheme files
-* 487 gui dark color scheme files
-* 275 gui light color scheme files
+* 491 cterm dark color scheme files
+* 286 cterm light color scheme files
+* 495 gui dark color scheme files
+* 268 gui light color scheme files
There is no claim that they are all unique or (at least currently) that
all dark ones actually have dark backgrounds and all light ones have
@@ -5,7 +5,7 @@
" Summary: View Color Schemes
" Author: Richard Emberson <richard.n.embersonATgmailDOTcom>
" Last Modified: 09/30/2012
-" Version: 1.0
+" Version: 1.1
"
" Tested on vim/gvim 7.3 on Linux
"
@@ -5,7 +5,7 @@
" Summary: View Color Schemes
" Author: Richard Emberson <richard.n.embersonATgmailDOTcom>
" Last Modified: 09/30/2012
-" Version: 1.0
+" Version: 1.1
"
" Tested on vim/gvim 7.3 on Linux
"
@@ -830,10 +830,8 @@ function! colorschemer#viewer#Viewer(cpath)
function! GenerateFormPDLAction(...) dict
let pos = a:1
"call forms#logforce("GenerateFormPDLAction: pos=".pos)
- let [cs, id] = self.cspopdown.__choices[pos]
-"GOOD
-" execute "colorscheme " . cs
-let g:selected_colorscheme = cs
+ let [cs, _] = self.cspopdown.__choices[pos]
+ let g:selected_colorscheme = cs
call forms#AppendInput({ 'type': 'ReDrawAll' })
endfunction
@@ -875,6 +873,10 @@ let g:selected_colorscheme = cs
endfunction
let pdl_action.cspopdown = cspopdown
+ " set selected colorscheme to the current popdownlist selection
+ let [cs, _] = choices[l:pos]
+ let g:selected_colorscheme = cs
+
function! CSButtonAction(...) dict
let cspopdown = self.cspopdown
let slist = cspopdown.__slist
@@ -4,7 +4,7 @@
" Name: 256-grayvim
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:22
+" Date: 2012-09-29 13:09:16
"----------------------------------------------------------
set background=dark
@@ -22,7 +22,7 @@ if has("gui_running")
hi LineNr guibg=#262626
hi Pmenu guifg=#ffffff
hi PmenuSbar guifg=#6c6c6c
- hi PmenuSel guifg=none
+ hi PmenuSel guifg=NONE
hi PmenuThumb guifg=#a8a8a8
hi StatusLine guifg=#9e9e9e guibg=#121212
hi StatusLineNC guifg=#9e9e9e guibg=#1c1c1c
@@ -4,7 +4,7 @@
" Name: 256-jungle
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:22
+" Date: 2012-09-29 13:09:16
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: 3dglasses
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:22
+" Date: 2012-09-29 13:09:16
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Black
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:23
+" Date: 2012-09-29 13:09:17
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: BlackSea
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:23
+" Date: 2012-09-29 13:09:17
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Blue
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:24
+" Date: 2012-09-29 13:09:17
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: ChocolateLiquor
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:24
+" Date: 2012-09-29 13:09:17
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: ChocolatePapaya
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:24
+" Date: 2012-09-29 13:09:18
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: CodeFactoryv3
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:25
+" Date: 2012-09-29 13:09:18
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Dark
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:25
+" Date: 2012-09-29 13:09:19
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Dark2
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:26
+" Date: 2012-09-29 13:09:19
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DarkDefault
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:26
+" Date: 2012-09-29 13:09:19
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Dim
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:27
+" Date: 2012-09-29 13:09:20
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Dim2
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:27
+" Date: 2012-09-29 13:09:20
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DimBlue
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:28
+" Date: 2012-09-29 13:09:20
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DimGreen
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:28
+" Date: 2012-09-29 13:09:21
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DimGreens
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:28
+" Date: 2012-09-29 13:09:21
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DimGrey
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:29
+" Date: 2012-09-29 13:09:21
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DimRed
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:29
+" Date: 2012-09-29 13:09:22
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: DimSlate
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:30
+" Date: 2012-09-29 13:09:22
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Green
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:30
+" Date: 2012-09-29 13:09:22
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Mahewincs
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:33
+" Date: 2012-09-29 13:09:25
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: MountainDew
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:34
+" Date: 2012-09-29 13:09:25
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Mustang
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:34
+" Date: 2012-09-29 13:09:26
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Red
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:35
+" Date: 2012-09-29 13:09:27
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: Slate
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:36
+" Date: 2012-09-29 13:09:27
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: abbott
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:37
+" Date: 2012-09-29 13:09:28
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: adam
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:37
+" Date: 2012-09-29 13:09:28
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: adaryn
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:37
+" Date: 2012-09-29 13:09:28
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: adrian
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:39
+" Date: 2012-09-29 13:09:29
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: advantage
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:39
+" Date: 2012-09-29 13:09:30
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: af
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:40
+" Date: 2012-09-29 13:09:30
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: aiseered
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:40
+" Date: 2012-09-29 13:09:30
"----------------------------------------------------------
set background=dark
@@ -4,7 +4,7 @@
" Name: aldmeris
" ColorSchemerVersion: 1.0
" User: emberson
-" Date: 2012-09-24 14:42:41
+" Date: 2012-09-29 13:09:31
"----------------------------------------------------------
set background=dark
Oops, something went wrong.

0 comments on commit 84ec3fe

Please sign in to comment.