[CLEAN_UP] remove unnecessary files.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@2 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2007-08-07 12:33:21 +00:00
parent ec7b0c2da9
commit 9365f6f308
108 changed files with 0 additions and 78659 deletions

View File

@ -1,93 +0,0 @@
// this is a comment
// File structure:
//
// GROUP "Group Name" - language group (Russian, Polish etc.)
// TABLE "Table Name" - encoding table in this group (cp1251 etc.)
// {
// <hex data> - hex values of your alphabet's symbols
// according to the encoding (codepage)
// }
//
// modify this file as you need
// EXAMPLE:
GROUP "Russian..."
// first TABLE of the GROUP describes
// default (WINDOWS) encoding
// TABLE "cp1251"
{
E0 E1 E2 E3 E4 E5 B8 E6 E7 E8 // 'a' ...
E9 EA EB EC ED EE EF F0 F1 F2
F3 F4 F5 F6 F7 F8 F9 FA FB FC
FD FE FF BA BF // + ukrainian [ye:] and [yi:]
C0 C1 C2 C3 C4 C5 A8 C6 C7 C8 // 'A' ...
C9 CA CB CC CD CE CF D0 D1 D2
D3 D4 D5 D6 D7 D8 D9 DA DB DC
DD DE DF AA AF // + ukrainian [Ye:] and [Yi:]
}
// second, third etc. TABLE of the GROUP describes
// additional encodings particular to the GROUP
// (to your language/alphabet)
// TABLE "cp866"
{
A0 A1 A2 A3 A4 A5 F1 A6 A7 A8 // 'a' ...
A9 AA AB AC AD AE AF E0 E1 E2
E3 E4 E5 E6 E7 E8 E9 EA EB EC
ED EE EF F3 F5 // + ukrainian [ye:] and [yi:]
80 81 82 83 84 85 F0 86 87 88 // 'A' ...
89 8A 8B 8C 8D 8E 8F 90 91 92
93 94 95 96 97 98 99 9A 9B 9C
9D 9E 9F F2 F4 // + ukrainian [Ye:] and [Yi:]
}
// TABLE "iso8859-5"
{
D0 D1 D2 D3 D4 D5 F1 D6 D7 D8 // 'a' ...
D9 DA DB DC DD DE DF E0 E1 E2
E3 E4 E5 E6 E7 E8 E9 EA EB EC
ED EE EF F3 F4 // + ukrainian [ye:] and [yi:]
B0 B1 B2 B3 B4 B5 A1 B6 B7 B8 // 'A' ...
B9 BA BB BC BD BE BF C0 C1 C2
C3 C4 C5 C6 C7 C8 C9 CA CB CC
CD CE CF A3 A4 // + ukrainian [Ye:] and [Yi:]
}
TABLE "Default"
{
"àáâãäå¸æçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
"ÀÁÂÃÄŨÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß"
"1234567890"
}
TABLE "Reversed"
{
"ÿþýüûúùø÷öõôóòñðïîíìëêéèçæ¸åäãâáà"
"ßÞÝÜÛÚÙØ×ÖÕÔÓÒÑÐÏÎÍÌËÊÉÈÇƨÅÄÃÂÁÀ"
"0987654321"
}
GROUP "Latin..."
TABLE "Default" // original latin alphabet
{
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"1234567890"
}
TABLE "Reversed" // latin alphabet in a reverse order
{
"zyxwvutsrqponmlkjihgfedcba"
"ZYXWVUTSRQPONMLKJIHGFEDCBA"
"0987654321"
}

View File

@ -1,2 +0,0 @@
[Options]
plug_f=0000

View File

@ -1,14 +0,0 @@
[Symbols]
;default symbols (english)
SymbL0=`1234567890-=\qwertyuiop[]asdfghjkl;'zxcvbnm,./
SymbH0=~!@#$%^&*()_+|QWERTYUIOP{}ASDFGHJKL:"ZXCVBNM<>?
;alternative symbols 1 (user_1) (F9)
SymbL1=¸1234567890-=\éöóêåíãøùçõúôûâàïðîëäæýÿ÷ñìèòüáþ.
SymbH1=¨!"¹;%:?*()_+/ÉÖÓÊÅÍÃØÙÇÕÚÔÛÂÀÏÐÎËÄÆÝß×ÑÌÈÒÜÁÞ,
;alternative symbols 2 (user_2) (Alt+F9)
SymbL2='1234567890-=\éöóêåíãøùçõ¿ôiâàïðîëäæºÿ÷ñìèòüáþ.
SymbH2='!"¹;%:?*()_+/ÉÖÓÊÅÍÃØÙÇÕ¯ÔIÂÀÏÐÎËÄƪß×ÑÌÈÒÜÁÞ,

Binary file not shown.

View File

@ -1,88 +0,0 @@
[2]
case=case $: $\n$
def=#define $\n$
default=default $: $\n$
dowhile=do\n{\n $\n}\nwhile ($);\n$
dowhiles=do\n $\nwhile ($);\n$
else=else\n{\n $\n}\n$
elseif=else if ($)\n{\n $\n}\n$
elseifs=else if ($)\n $\n$
elses=else\n $\n$
for=for ($;$;$)\n{\n $\n}\n$
fors=for ($;$;$)\n $\n$
func=$ $($)\n{\n $\n return $;\n}\n$
if=if ($)\n{\n $\n}\n$
ifelse=if ($)\n{\n $\n}\nelse\n{\n $\n}\n$
ifelses=if ($)\n{\n $\n}\nelse\n $\n$
ifs=if ($)\n $\n$
ifselse=if ($)\n $\nelse\n{\n $\n}\n$
ifselses=if ($)\n $\nelse\n $\n$
inc=#include <$>\n$
incl=#include "$"\n$
main=int main(int argc, char* argv[])\n{\n $\n}\n
switch=switch ($)\n{\n $\n}\n$
while=while ($)\n{\n $\n}\n$
whiles=while ($)\n $\n$
[3]
case=case $: $\n$
class=class $ {\nprivate:\n $\nprotected:\n $\npublic:\n $\n};\n$
def=#define $\n$
default=default $: $\n$
dowhile=do\n{\n $\n}\nwhile ($);\n$
dowhiles=do\n $\nwhile ($);\n$
else=else\n{\n $\n}\n$
elseif=else if ($)\n{\n $\n}\n$
elseifs=else if ($)\n $\n$
elses=else\n $\n$
for=for ($;$;$)\n{\n $\n}\n$
fors=for ($;$;$)\n $\n$
func=$ $($)\n{\n $\n return $;\n}\n$
hclass=#ifndef $\n#define $\n\nclass $ {\nprivate:\n $\nprotected:\n $\npublic:\n $\n};\n\n#endif\n$
if=if ($)\n{\n $\n}\n$
ifelse=if ($)\n{\n $\n}\nelse\n{\n $\n}\n$
ifelses=if ($)\n{\n $\n}\nelse\n $\n$
ifs=if ($)\n $\n$
ifselse=if ($)\n $\nelse\n{\n $\n}\n$
ifselses=if ($)\n $\nelse\n $\n$
inc=#include <$>\n$
incl=#include "$"\n$
main=int main(int argc, char* argv[])\n{\n $\n}\n
switch=switch ($)\n{\n $\n}\n$
while=while ($)\n{\n $\n}\n$
whiles=while ($)\n $\n$
[8]
b=<b>$</b>$
black=#000000
blue=#0000FF
body=<body>\n $\n</body>\n$
comment=<!-- $ -->\n$
cyan=#00FFFF
form=<form name="$" action="$">\n $\n</form>\n$
green=#00FF00
grey=#C0C0C0
h1=<h1>$</h1>\n$
h2=<h2>$</h2>\n$
h3=<h3>$</h3>\n$
h4=<h4>$</h4>\n$
h5=<h5>$</h5>\n$
h6=<h6>$</h6>\n$
head=<head>\n $\n</head>\n$
html=<html>\n <head>\n <title>$</title>\n $\n </head>\n <body>\n $\n </body>\n</html>\n$
i=<i>$</i>$
img=<img src="$" alt="$" />\n$
input=<input type="$" name="$" />\n$
li=<li>$</li>\n$
link=<a href="$">$</a>$
mangenta=#FF00FF
ol=<ol>\n <li>$</li>\n $\n</ol>\n$
p=<p>$</p>\n$
pre=<pre>$</pre>\n$
red=#FF0000
span=<span>$</span>$
table=<table>\n <tr>\n <td>$</td>\n $\n </tr>\n $\n</table>\n$
td=<td>$</td>\n$
title=<title>$</title>\n$
tr=<tr>\n $\n</tr>\n$
ul=<ul>\n <li>$</li>\n $\n</ul>\n$
white=#FFFFFF
yellow=#FFFF00

Binary file not shown.

View File

@ -1,77 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
<GUIConfigs>
<!-- 3 status : "large", "small" or "hide"-->
<GUIConfig name="ToolBar">standard</GUIConfig>
<!-- 2 status : "show" or "hide"-->
<GUIConfig name="StatusBar">show</GUIConfig>
<!-- For all attributs, 2 status : "yes" or "no"-->
<GUIConfig name="TabBar" dragAndDrop="yes" drawTopBar="yes" drawInactiveTab="yes" reduce="yes" />
<!-- 2 positions : "horizontal" or "vertical"-->
<GUIConfig name="ScintillaViewsSplitter">vertical</GUIConfig>
<!-- For the attribut of position, 2 status : docked or undocked ; 2 status : "show" or "hide" -->
<GUIConfig name="UserDefineDlg" position="docked">hide</GUIConfig>
<GUIConfig name="TabSetting" size="4" replaceBySpace="no" />
<!--App position-->
<GUIConfig name="AppPosition" x="195" y="104" width="1033" height="834" isMaximized="yes"/>
<!-- For the primary scintilla view,
2 status for Attribut lineNumberMargin, bookMarkMargin, indentGuideLine and currentLineHilitingShow: "show" or "hide"
4 status for Attribut folderMarkStyle : "simple", "arrow", "circle" and "box" -->
<GUIConfig name="ScintillaPrimaryView" lineNumberMargin="show" bookMarkMargin="show" folderMarkStyle="box" indentGuideLine="show" currentLineHilitingShow="show" Wrap="no" edge="no" edgeNbColumn="100" />
<!-- For the secodary scintilla view,
2 status for Attribut lineNumberMargin, bookMarkMargin, indentGuideLine and currentLineHilitingShow: "show" or "hide"
4 status for Attribut folderMarkStyle : "simple", "arrow", "circle" and "box" -->
<GUIConfig name="ScintillaSecondaryView" lineNumberMargin="show" bookMarkMargin="show" folderMarkStyle="box" indentGuideLine="show" currentLineHilitingShow="show" Wrap="yes" edge="no" edgeNbColumn="80" />
<GUIConfig name="Auto-detection">yes</GUIConfig>
<GUIConfig name="CheckHistoryFiles">no</GUIConfig>
<GUIConfig name="TrayIcon">no</GUIConfig>
<GUIConfig name="RememberLastSession">yes</GUIConfig>
<!--
New Document default settings :
format = 0/1/2 -> win/unix/mac
encoding = 0/1/2/3/4/5 -> ANSI/UCS2Big/UCS2small/UTF8/UTF8-BOM
defaultLang = 0/1/2/..
Note 1 : UTF8-BOM -> UTF8 without BOM
Note 2 : for defaultLang :
0 -> L_TXT
1 -> L_PHP
... (see source file)
-->
<GUIConfig name="NewDocDefaultSettings" format="0" encoding="0" lang="0"/>
<GUIConfig name="langsExcluded" gr0="" gr1="" gr2="" gr3="" gr4=""/>
<!--
printOption is print colour setting, the following values are possible :
0 : WYSIWYG
1 : Invert colour
2 : B & W
3 : WYSIWYG but without background colour
-->
<GUIConfig name="Print" lineNumber="no" printOption="0" headerLeft="$(FULL_CURRENT_PATH)" headerMiddle="" headerRight="$(LONG_DATE) $(TIME)" headerFontName="IBMPC" headerFontStyle="1" headerFontSize="8" footerLeft="" footerMiddle="-$(CURRENT_PRINTING_PAGE)-" footerRight="" footerFontName="" footerFontStyle="0" footerFontSize="9" margeLeft="0" margeTop="0" margeRight="0" margeBottom="0" />
<!--
Backup Setting :
0 : non backup
1 : simple backup
2 : verbose backup
-->
<GUIConfig name="Backup" action="0" />
<GUIConfig name="TaskList">yes</GUIConfig>
<GUIConfig name="SaveOpenFileInSameDir">no</GUIConfig>
<!--
value 0 for the folloing parameters means invisible :
leftWidth, topHight, rightWidth, bottomHight
position value for the PluginDlg:
0 : left
1 : right
2 : top
3 : bottom
>= 4 : undocked -> FloatingWindow id
-->
</GUIConfigs>
<!-- The History of opened files list -->
<History nbMaxFile="15"/>
</NotepadPlus>

View File

@ -1,17 +0,0 @@
<NotepadPlus>
<ScintillaContextMenu>
<Item id="42001"/>
<Item id="42002"/>
<Item id="42005"/>
<Item id="42006"/>
<Item id="0"/>
<Item id="43016"/>
<Item id="43017"/>
<Item id="0"/>
<Item id="42016"/>
<Item id="42017"/>
<Item id="0"/>
<Item id="42022"/>
<Item id="42023"/>
</ScintillaContextMenu>
</NotepadPlus>

View File

@ -1,6 +0,0 @@
[Function List]
Show all functions=0
Sort by names=0
showCmd=0
[User Languages]
Count User Languages=0

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,682 +0,0 @@
#define
#elif
#else
#endif
#error
#if
#ifdef
#ifndef
#include
#line
#pragma
#undef
FP_OFF
FP_SEG
MK_FP
_OvrInitEms
_OvrInitExt
__asm
__based1
__cdecl
__declspec
__emit__
__except
__fastcall
__finally
__inline
__int16
__int32
__int64
__int8
__leave
__multiple_inheritance
__single_inheritance
__stdcall
__try
__virtual_inheritance
_atold
_bios_disk
_bios_equiplist
_bios_keybrd
_bios_memsize
_bios_printer
_bios_serialcom
_bios_timeofday
_c_exit
_cexit
_chain_intr
_chdrive
_chmod
_clear87
_close
_control87
_creat
_disable
_dos_allocmem
_dos_close
_dos_creat
_dos_creatnew
_dos_findfirst
_dos_findnext
_dos_freemem
_dos_getdate
_dos_getdiskfree
_dos_getdrive
_dos_getfileattr
_dos_getftime
_dos_gettime
_dos_getvect
_dos_keep
_dos_open
_dos_read
_dos_setblock
_dos_setdate
_dos_setdrive
_dos_setfileattr
_dos_setftime
_dos_settime
_dos_setvect
_dos_write
_enable
_exit
_fmemccpy
_fmemchr
_fmemcmp
_fmemcpy
_fmemicmp
_fmemset
_fpreset
_fsopen
_fstrcat
_fstrchr
_fstrcmp
_fstrcpy
_fstrcspn
_fstrdup
_fstricmp
_fstrlen
_fstrlwr
_fstrncat
_fstrncmp
_fstrncpy
_fstrnicmp
_fstrnset
_fstrpbrk
_fstrrchr
_fstrrev
_fstrset
_fstrspn
_fstrstr
_fstrtok
_fstrupr
_fullpath
_getdcwd
_getdrive
_graphfreemem
_graphgetmem
_harderr
_hardresume
_hardretn
_lrotl
_lrotr
_makepath
_matherrl
_open
_read
_rotl
_rotr
_searchenv
_setcursortype
_splitpath
_status87
_strdate
_strerror
_strtime
_strtold
_tolower
_toupper
_write
abort
abs
absread
abswrite
access
acos
acosl
allocmem
arc
arg
asctime
asin
asinl
assert
atan
atan2
atan2l
atanl
atexit
atof
atoi
atol
auto
bar
bar3d
bcd
bdos
bdosptr
bioscom
biosdisk
biosequip
bioskey
biosmemory
biosprint
biostime
break
brk
bsearch
cabs
cabsl
calloc
case
ceil
ceill
cerr
cgets
char
chdir
chmod
chsize
cin
circle
cleardevice
clearerr
clearviewport
clock
close
closedir
closegraph
clreol
clrscr
complex
conj
const
continue
coreleft
cos
cosh
coshl
cosl
country
cprintf
cputs
creat
creatnew
creattemp
cscanf
ctime
ctrlbrk
default
delay
delline
detectgraph
difftime
disable
div
dllexport
dllexport2
dllimport
dllimport2
do
dosexterr
dostounix
double
drawpoly
dup
dup2
ecvt
ellipse
else
enable
enum
eof
execl
execle
execlp
execlpe
execv
execve
execvp
execvpe
exit
exp
expl
extern
fabs
fabsl
farcalloc
farcoreleft
farfree
farheapcheck
farheapcheckfree
farheapchecknode
farheapfillfree
farheapwalk
farmalloc
farrealloc
fclose
fcloseall
fcvt
fdopen
feof
ferror
fflush
fgetc
fgetchar
fgetpos
fgets
filelength
fileno
fillellipse
fillpoly
findfirst
findnext
float
floodfill
floor
floorl
flushall
fmod
fmodl
fnmerge
fnsplit
fopen
for
fprintf
fputc
fputchar
fputs
fread
free
freemem
freopen
frexp
frexpl
friend
fscanf
fseek
fsetpos
fstat
ftell
ftime
fwrite
gcvt
geninterrupt
getarccoords
getaspectratio
getbkcolor
getc
getcbrk
getch
getchar
getche
getcolor
getcurdir
getcwd
getdate
getdefaultpalette
getdfree
getdisk
getdrivername
getdta
getenv
getfat
getfatd
getfillpattern
getfillsettings
getftime
getgraphmode
getimage
getlinesettings
getmaxcolor
getmaxmode
getmaxx
getmaxy
getmodename
getmoderange
getpalette
getpalettesize
getpass
getpid
getpixel
getpsp
gets
gettext
gettextinfo
gettextsettings
gettime
getvect
getverify
getviewsettings
getw
getx
gety
gmtime
goto
gotoxy
graphdefaults
grapherrormsg
graphresult
harderr
hardresume
hardretn
heapcheck
heapcheckfree
heapchecknode
heapfillfree
heapwalk
highvideo
hypot
hypotl
if
imag
imagesize
initgraph
inp
inport
inportb
inpw
insline
installuserdriver
installuserfont
int
int86
int86x
intdos
intdosx
intr
ioctl
isalnum
isalpha
isascii
isatty
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
itoa
kbhit
keep
labs
ldexp
ldexpl
ldiv
lfind
line
linerel
lineto
localeconv
localtime
lock
locking
log
log10
log10l
logl
long
longjmp
lowvideo
lsearch
lseek
ltoa
malloc
matherr
max
mblen
mbstowcs
mbtowc
memccpy
memchr
memcmp
memcpy
memicmp
memmove
memset
min
mkdir
mktemp
mktime
modf
modfl
movedata
moverel
movetext
moveto
movmem
namespace
norm
normvideo
nosound
open
opendir
operator
outp
outport
outportb
outpw
outtext
outtextxy
parsfnm
peek
peekb
perror
pieslice
poke
pokeb
polar
poly
polyl
pow
pow10
pow10l
powl
printf
private
protected
public
putc
putch
putchar
putenv
putimage
putpixel
puts
puttext
putw
qsort
raise
rand
randbrd
randbwr
random
randomize
read
readdir
real
realloc
rectangle
register
registerbgidriver
registerbgifont
registerfarbgidriver
registerfarbgifont
remove
rename
restorecrtmode
return
rewind
rewinddir
rmdir
rmtmp
sbrk
scanf
searchpath
sector
segread
set_new_handler
setactivepage
setallpalette
setaspectratio
setbkcolor
setblock
setbuf
setcbrk
setcolor
setdate
setdisk
setdta
setfillpattern
setfillstyle
setftime
setgraphbufsize
setgraphmode
setjmp
setlinestyle
setlocale
setmem
setmode
setpalette
setrgbpalette
settextjustify
settextstyle
settime
setusercharsize
setvbuf
setvect
setverify
setviewport
setvisualpage
setwritemode
short
signal
signed
sin
sinh
sinhl
sinl
sizeof
sleep
sopen
sound
spawnl
spawnle
spawnlp
spawnlpe
spawnv
spawnve
spawnvp
spawnvpe
sprintf
sqrt
sqrtl
srand
sscanf
stackavail
stat
static
stime
stpcpy
strcat
strchr
strcmp
strcmpi
strcoll
strcpy
strcspn
strdup
strerror
strftime
stricmp
strlen
strlwr
strncat
strncmp
strncmpi
strncpy
strnicmp
strnset
strpbrk
strrchr
strrev
strset
strspn
strstr
strtod
strtok
strtol
strtoul
struct
strupr
strxfrm
swab
switch
system
tan
tanh
tanhl
tanl
tell
template
tempnam
textattr
textbackground
textcolor
textheight
textmode
textwidth
thread
thread2
time
tmpfile
tmpnam
toascii
tolower
toupper
try
typedef
tzset
ultoa
umask
ungetc
ungetch
union
unixtodos
unlink
unlock
unsigned
using
utime
va_arg
va_end
va_list
va_start
vfprintf
vfscanf
virtual
void
volatile
vprintf
vscanf
vsprintf
vsscanf
wcstombs
wctomb
wherex
wherey
while
window
write

File diff suppressed because it is too large Load Diff

View File

@ -1,228 +0,0 @@
abstract
as
base
bool
break
byte
byte
case
catch
char
checked
class
Comparer
Console
Console.Write(
Console.WriteLine(
const
continue
DateTime
decimal
default
Delegate
delegate
Dictionary
Dictionary.Enumerator
Dictionary.KeyCollection
Dictionary.KeyCollection.Enumerator
Dictionary.ValueCollection
Dictionary.ValueCollection.Enumerator
do
double
double
else
enum
EqualityComparer
event
Exception
explicit
extern
false
FileStream
finally
fixed
float
float
for
foreach
goto
ICollection
IComparer
IDictionary
IEnumerable
IEnumerator
IEqualityComparer
if
IList
implicit
in
int
Int16
Int32
Int64
interface
internal
IntPtr
is
KeyNotFoundException
KeyValuePair
LinkedList
LinkedList.Enumerator
LinkedListNode
List
List.Enumerator
lock
long
Microsoft.CSharp
Microsoft.JScript
Microsoft.VisualBasic
Microsoft.Vsa
Microsoft.Win32
namespace
new
null
object
object
operator
out
override
params
private
protected
public
Queue
Queue.Enumerator
readonly
ref
return
sbyte
sbyte
sealed
short
sizeof
SortedDictionary
SortedDictionary.Enumerator
SortedDictionary.KeyCollection
SortedDictionary.KeyCollection.Enumerator
SortedDictionary.ValueCollection
SortedDictionary.ValueCollection.Enumerator
SortedList
Stack
Stack.Enumerator
stackalloc
static
StreamWriter
string
StringBuilder
struct
switch
System
System.CodeDom
System.CodeDom.Compiler
System.Collections
System.Collections.Specialized
System.ComponentModel
System.ComponentModel.Design
System.ComponentModel.Design.Serialization
System.Configuration
System.Configuration.Assemblies
System.Configuration.Install
System.Data
System.Data.Common
System.Data.OleDb
System.Data.SqlClient
System.Data.SqlTypes
System.Diagnostics
System.Diagnostics.SymbolStore
System.DirectoryServices
System.Drawing
System.Drawing.Design
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text
System.EnterpriseServices
System.EnterpriseServices.CompensatingResourceManager
System.Globalization
System.IO
System.IO.IsolatedStorage
System.Management
System.Management.Instrumentation
System.Messaging
System.Net
System.Net.Sockets
System.Reflection
System.Reflection.Emit
System.Resources
System.Runtime.CompilerServices
System.Runtime.InteropServices
System.Runtime.InteropServices.Expando
System.Runtime.Remoting
System.Runtime.Remoting.Activation
System.Runtime.Remoting.Channels
System.Runtime.Remoting.Channels.Http
System.Runtime.Remoting.Channels.Tcp
System.Runtime.Remoting.Contexts
System.Runtime.Remoting.Lifetime
System.Runtime.Remoting.Messaging
System.Runtime.Remoting.Metadata
System.Runtime.Remoting.Metadata.W3cXsd2001
System.Runtime.Remoting.MetadataServices
System.Runtime.Remoting.Proxies
System.Runtime.Remoting.Services
System.Runtime.Serialization
System.Runtime.Serialization.Formatters
System.Runtime.Serialization.Formatters.Binary
System.Runtime.Serialization.Formatters.Soap
System.Security
System.Security.Cryptography
System.Security.Cryptography.X509Certificates
System.Security.Cryptography.Xml
System.Security.Permissions
System.Security.Policy
System.Security.Principal
System.ServiceProcess
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Web
System.Web.Caching
System.Web.Configuration
System.Web.Hosting
System.Web.Mail
System.Web.Security
System.Web.Services
System.Web.Services.Configuration
System.Web.Services.Description
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Design
System.Web.UI.Design.WebControls
System.Web.UI.HtmlControls
System.Web.UI.WebControls
System.Windows.Forms
System.Windows.Forms.Design
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.XPath
System.Xml.Xsl
TextWriter
this
throw
true
try
typeof
uint
ulong
unchecked
unsafe
ushort
using
virtual
void
volatile
while

View File

@ -1,357 +0,0 @@
:active
:after
:before
:first
:first-child
:first-letter
:first-line
:focus
:hover
:lang
:left
:link
:right
:visited
@charset
@font-face
@import
@media
@page
ActiveBorder
ActiveCaption
AppWorkspace
ButtonFace
ButtonHighlight
ButtonShadow
ButtonText
CaptionText
GrayText
Highlight
HighlightText
InactiveBorder
InactiveCaption
InactiveCaptionText
InfoBackground
InfoText
MenuText
Scrollbar
ThreeDDarkShadow
ThreeDFace
ThreeDHighlight
ThreeDLightShadow
ThreeDShadow
Window
WindowFrame
WindowText
above
absolute
always
aqua
armenian
attr
auto
avoid
azimuth
background
background-attachment
background-color
background-image
background-position
background-repeat
baseline
behind
below
bidi-override
black
blink
block
blue
bold
bolder
border
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
border-color
border-left
border-left-color
border-left-style
border-left-width
border-right
border-right-color
border-right-style
border-right-width
border-spacing
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
both
bottom
capitalize
caption
caption-side
center
center-left
center-right
circle
cjk-ideographic
clear
clip
close-quote
code
collapse
color
compact
condensed
content
continuous
counter-increment
counter-reset
crop
cros
crosshair
cue
cue-after
cue-before
cursor
decimal
decimal-leading-zero
default
deg
digits
direction
disc
display
e-resize
elevation
em
embed
empty-cells
ex
expanded
extra-condensed
extra-expanded
far-left
far-right
fast
faster
fixed
float
font
font-family
font-size
font-size-adjust
font-stretch
font-style
font-variant
font-weight
fuchsia
georgian
grad
gray
green
hebrew
height
help
hidden
hide
high
higher
hiragana
hiragana-iroha
hz
icon
inherit
inline
inline-table
inside
italic
justify
katakana
katakana-iroha
khz
landscape
left
left-side
leftwards
letter-spacing
level
lighter
lime
line-height
line-through
list-item
list-style
list-style-image
list-style-position
list-style-type
loud
low
lower
lower-alpha
lower-greek
lower-latin
lower-roman
lowercase
ltr
margin
margin-bottom
margin-left
margin-right
margin-top
marker
marker-offset
marks
maroon
max-height
max-width
medium
menu
message-box
middle
min-height
min-width
mix
move
ms
n-resize
narrower
navy
ne-resize
no-close-quote
no-open-quote
no-repeat
none
normal
nowrap
nw-resize
oblique
olive
once
open-quote
orphans
outline
outline-color
outline-style
outline-width
outside
overflow
overline
padding
padding-bottom
padding-left
padding-right
padding-top
page
page-break-after
page-break-before
page-break-inside
pause
pause-after
pause-before
pitch
pitch-range
play-during
pointer
portrait
position
pre
pt
purple
px
quotes
rad
red
relative
repeat
repeat-x
repeat-y
richness
right
right-side
rightwards
rtl
run-in
s-resize
scroll
se-resize
semi-condensed
semi-expanded
separate
show
silent
silver
size
slow
slower
small-caps
small-caption
soft
speak
speak-header
speak-numeral
speak-ponctuation
speech-rate
spell-out
square
static
status-bar
stress
sub
super
sw-resize
table
table-caption
table-cell
table-column
table-column-group
table-footer-group
table-header-group
table-layout
table-row
table-row-group
teal
text
text-align
text-bottom
text-decoration
text-indent
text-shadow
text-top
text-transform
top
transparent
ultra-condensed
ultra-expanded
underline
unicode-bidi
upper-alpha
upper-latin
upper-roman
uppercase
vertical-align
visibility
visible
voice-family
volume
w-resize
wait
white
white-space
wider
widows
width
word-spacing
x-fast
x-high
x-loud
x-low
x-slow
x-soft
yellow
z-index

View File

@ -1,930 +0,0 @@
"allowscale"
"exec"
"fullscreen"
"quit"
"showmenu"
"trapallkeys"
#include
ALT
ASSetNative
ASSetPropFlags
ASconstructor
ASnative
Accessibility
Accessibility.isActive
Array
Array
AsBroadcaster
BACKSPACE
BACKSPACE
Boolean
Boolean
Button
CAPSLOCK
CAPSLOCK
CONTROL
CONTROL
Camera
Capabilities
Color
Color
Cookie
CustomActions
CustomActions.get
CustomActions.install
CustomActions.list
CustomActions.uninstall
DELETEKEY
DELETEKEY
DOWN
DOWN
Date
Date
Date.UTC
END
END
ENTER
ENTER
ESCAPE
ESCAPE
FStyleFormat
HOME
HOME
INSERT
INSERT
Infinity
IsActive
Key
Key
Key.ALT
Key.BACKSPACE
Key.CAPSLOCK
Key.CONTROL
Key.DELETEKEY
Key.DOWN
Key.END
Key.ENTER
Key.ESCAPE
Key.HOME
Key.INSERT
Key.LEFT
Key.PGDN
Key.PGUP
Key.RIGHT
Key.SHIFT
Key.SPACE
Key.TAB
Key.UP
Key.getAscii
Key.getCode
Key.isDown
Key.isToggled
LEFT
LEFT
LN10
LN10
LN2
LN2
LOG10E
LOG10E
LOG2E
LOG2E
LoadVars
LocalConnection
MAX_VALUE
MAX_VALUE
MIN_VALUE
MIN_VALUE
MMSave
Math
Math
Math.E
Math.LN10
Math.LN2
Math.LOG10E
Math.LOG2E
Math.PI
Math.SQRT1_2
Math.SQRT2
Math.abs
Math.acos
Math.asin
Math.atan
Math.atan2
Math.ceil
Math.cos
Math.exp
Math.floor
Math.log
Math.max
Math.min
Math.pow
Math.random
Math.round
Math.sin
Math.sqrt
Math.tan
Microphone
Mouse
Mouse
Mouse.hide
Mouse.show
MovieClip
MovieClip
NEGATIVE_INFINITY
NEGATIVE_INFINITY
NaN
NaN
NetConnection
NetStream
Number
Number
Number.MAX_VALUE
Number.MIN_VALUE
Number.NEGATIVE_INFINITY
Number.NaN
Number.POSITIVE_INFINITY
Object
Object
Object.registerClass
PGDN
PGDN
PGUP
PGUP
PI
PI
POSITIVE_INFINITY
POSITIVE_INFINITY
Product
RIGHT
RIGHT
SHIFT
SHIFT
SPACE
SPACE
SQRT1_2
SQRT1_2
SQRT2
SQRT2
Selection
Selection
Selection.getBeginIndex
Selection.getCaretIndex
Selection.getEndIndex
Selection.getFocus
Selection.setFocus
Selection.setSelection
SendEvent
SharedObject
ShowSettings
Sound
Sound
Stage
Stage.align
Stage.height
Stage.scaleMode
Stage.showMenu
Stage.width
String
String
String.fromCharCode
System
System.capabilities
System.capabilities.hasAccessibility
System.capabilities.hasAudio
System.capabilities.hasAudioEncoder
System.capabilities.hasMP3
System.capabilities.hasVideoEncoder
System.capabilities.input
System.capabilities.isDebugger
System.capabilities.language
System.capabilities.manufacturer
System.capabilities.os
System.capabilities.pixelAspectRatio
System.capabilities.screenColor
System.capabilities.screenDPI
System.capabilities.screenResolutionX
System.capabilities.screenResolutionY
System.capabilities.serverString
System.capabilities.version
System.security.allowDomain
TAB
TAB
TextField
TextFormat
UP
UP
UTC
UTC
Video
XML
XML
XMLNode
XMLSocket
XMLSocket
__proto__
_alpha
_alpha
_currentframe
_currentframe
_droptarget
_droptarget
_focusrect
_focusrect
_framesloaded
_framesloaded
_global
_height
_height
_highquality
_highquality
_level
_listeners
_name
_name
_parent
_parent
_quality
_quality
_root
_root
_rotation
_rotation
_soundbuftime
_soundbuftime
_target
_target
_totalframes
_totalframes
_url
_url
_visible
_visible
_width
_width
_x
_x
_xmouse
_xmouse
_xscale
_xscale
_y
_y
_ymouse
_ymouse
_yscale
_yscale
a
abs
abs
acos
acos
add
add
addListener
addProperty
addheader
align
allowDomain
and
appendChild
appendChild
apply
arguments
arguments.callee
arguments.caller
asin
asin
atan
atan
atan2
atan2
attachAudio
attachMovie
attachMovie
attachSound
attachSound
attachVideo
attributes
attributes
autoSize
background
backgroundColor
beginFill
beginGradientFill
blockIndent
bold
border
borderColor
bottomScroll
break
break
broadcastMessage
bullet
call
call
callee
caller
capabilities
case
ceil
ceil
charAt
charAt
charCodeAt
charCodeAt
childNodes
childNodes
chr
chr
clear
clearInterval
cloneNode
cloneNode
close
close
color
concat
concat
condenseWhite
connect
connect
constructor
constructor
contentType
continue
continue
cos
cos
createElement
createElement
createEmptyMovieClip
createTextField
createTextNode
createTextNode
curveTo
data
data
decode
default
delete
delete
do
do
docTypeDecl
docTypeDecl
domain
dragOut
dragOut
dragOver
dragOver
duplicateMovieClip
duplicateMovieClip
duration
else
else
embedFonts
enabled
endFill
enterFrame
enterFrame
eq
escape
escape
eval
eval
evaluate
exp
exp
false
false
firstChild
firstChild
floor
floor
flush
focusEnabled
font
for
for
fromCharCode
fromCharCode
fscommand
fscommand
function
function
ge
get
getAscii
getAscii
getBeginIndex
getBeginIndex
getBounds
getBounds
getBytesLoaded
getBytesLoaded
getBytesTotal
getBytesTotal
getCaretIndex
getCaretIndex
getCode
getCode
getCookie
getDate
getDate
getDay
getDay
getDepth
getDuration
getEndIndex
getEndIndex
getFocus
getFocus
getFontList
getFullYear
getFullYear
getHours
getHours
getMilliseconds
getMilliseconds
getMinutes
getMinutes
getMonth
getMonth
getNewTextFormat
getPan
getPan
getPosition
getProperty
getProperty
getRGB
getRGB
getSeconds
getSeconds
getSize
getTextExtent
getTextFormat
getTime
getTime
getTimer
getTimer
getTimezoneOffset
getTimezoneOffset
getTransform
getTransform
getURL
getURL
getUTCDate
getUTCDate
getUTCDay
getUTCDay
getUTCFullYear
getUTCFullYear
getUTCHours
getUTCHours
getUTCMilliseconds
getUTCMilliseconds
getUTCMinutes
getUTCMinutes
getUTCMonth
getUTCMonth
getUTCSeconds
getUTCSeconds
getUTCYear
getVersion
getVersion
getVolume
getVolume
getYear
getYear
globalToLocal
globalToLocal
gotoAndPlay
gotoAndPlay
gotoAndStop
gotoAndStop
gt
hasAccessibility
hasAudio
hasAudioEncoder
hasChildNodes
hasChildNodes
hasMP3
hasOwnProperty
hasVideoEncoder
height
hide
hide
hitArea
hitTest
hitTest
hscroll
html
htmlText
if
if
ifFrameLoaded
ifFrameLoaded
ignoreWhite
in
in
include
indent
indexOf
indexOf
input
insertBefore
insertBefore
install
instanceof
int
int
isActive
isDebugger
isDown
isDown
isFinite
isFinite
isNaN
isNaN
isPropertyEnumerable
isPrototypeOf
isToggled
isToggled
italic
john@3wgraphics.net
join
join
keyDown
keyPress
keyPress
keyUp
language
lastChild
lastChild
lastIndexOf
lastIndexOf
le
leading
leftMargin
length
length
lineStyle
lineTo
list
load
load
loadMovie
loadMovie
loadMovieNum
loadMovieNum
loadSound
loadVariables
loadVariables
loadVariablesNum
loadVariablesNum
loaded
loaded
localToGlobal
localToGlobal
log
log
lt
manufacturer
max
max
maxChars
maxhscroll
maxscroll
maxscroll
mbchr
mbchr
mblength
mblength
mbord
mbord
mbsubstring
mbsubstring
metaInfo
meth
min
min
mouseDown
mouseDown
mouseMove
mouseUp
mouseUp
moveTo
multiline
ne
new
new
newline
newline
nextFrame
nextFrame
nextScene
nextScene
nextSibling
nextSibling
nodeName
nodeName
nodeType
nodeType
nodeValue
nodeValue
not
null
null
number
on
on
onChanged
onClipEvent
onClipEvent
onClose
onClose
onConnect
onConnect
onData
onDragOut
onDragOver
onEnterFrame
onKeyDown
onKeyUp
onKillFocus
onLoad
onLoad
onMouseDown
onMouseMove
onMouseUp
onPress
onRelease
onReleaseOutside
onResize
onRollOut
onRollOver
onScroller
onSetFocus
onSoundComplete
onUnload
onXML
onXML
or
ord
ord
os
parentNode
parentNode
parseFloat
parseFloat
parseInt
parseInt
parseXML
parseXML
password
pause
pixelAspectRatio
play
play
pop
pop
position
pow
pow
press
press
prevFrame
prevFrame
prevScene
prevScene
previousSibling
previousSibling
print
print
printAsBitmap
printAsBitmap
printAsBitmapNum
printNum
printNum
prototype
publish
push
push
random
random
receiveAudio
receiveVideo
registerClass
release
release
releaseOutside
releaseOutside
removeListener
removeMovieClip
removeMovieClip
removeNode
removeNode
removeTextField
replaceSel
restrict
return
return
reverse
reverse
rightMargin
rollOut
rollOut
rollOver
rollOver
round
round
scaleMode
screenColor
screenDPI
screenResolutionX
screenResolutionY
scroll
scroll
scrollString
security
seek
selectable
send
send
sendAndLoad
sendAndLoad
serverString
set
set
setBufferTime
setCookie
setDate
setDate
setDuration
setFocus
setFocus
setFps
setFullYear
setFullYear
setGain
setHours
setHours
setInterval
setKeyFrameInterval
setLoopback
setMask
setMilliseconds
setMilliseconds
setMinutes
setMinutes
setMode
setMonth
setMonth
setMotionLevel
setNewTextFormat
setPan
setPan
setPosition
setProperty
setProperty
setQuality
setRGB
setRGB
setRate
setSeconds
setSeconds
setSelection
setSelection
setSilenceLevel
setTextFormat
setTime
setTime
setTransform
setTransform
setUTCDate
setUTCDate
setUTCFullYear
setUTCFullYear
setUTCHours
setUTCHours
setUTCMilliseconds
setUTCMilliseconds
setUTCMinutes
setUTCMinutes
setUTCMonth
setUTCMonth
setUTCSeconds
setUTCSeconds
setUseEchoSuppression
setVolume
setVolume
setYear
setYear
shift
shift
show
show
showMenu
sin
sin
size
slice
slice
sort
sort
sortOn
splice
splice
split
split
sqrt
sqrt
start
start
startDrag
startDrag
status
status
stop
stop
stopAllSounds
stopAllSounds
stopDrag
stopDrag
substr
substr
substring
substring
super
swapDepths
swapDepths
switch
tabChildren
tabEnabled
tabIndex
tabStops
tan
tan
target
targetPath
targetPath
tellTarget
tellTarget
text
textColor
textHeight
textWidth
this
this
toLocaleString
toLowerCase
toLowerCase
toString
toString
toUpperCase
toUpperCase
toggleHighQuality
toggleHighQuality
trace
trace
trackAsMenu
true
true
type
typeof
typeof
undefined
underline
unescape
unescape
uninstall
unload
unloadMovie
unloadMovie
unloadMovieNum
unloadMovieNum
unshift
unshift
unwatch
updateAfterEvent
updateAfterEvent
url
useHandCursor
valueOf
valueOf
var
var
variable
version
void
void
watch
while
while
width
with
with
wordWrap
xmlDecl
xmlDecl

View File

@ -1,576 +0,0 @@
and.
eq.
eqv.
ge.
gt.
le.
lt.
ne.
neqv.
not.
or.
abs
access
achar
acos
acosd
action
adjustl
adjustr
admit
advance
aimag
aimax0
aimin0
aint
ajmax0
ajmin0
akmax0
akmin0
all
allocatable
allocate
allocated
alog
alog10
amax0
amax1
amin0
amin1
amod
anint
any
apostrophe
asin
asind
assign
assignment
associate
associated
asynchronous
at
atan
atan2
atan2d
atand
backspace
bind
bit_size
bitest
bitl
bitlr
bitrl
bjtest
bktest
blank
block
blockdata
blocksize
break
btest
cabs
call
carg
carriagecontrol
case
ccos
cdabs
cdcos
cdexp
cdlog
cdsin
cdsqrt
ceiling
cexp
char
character
class
clog
close
cmplx
common
complex
conjg
contains
continue
cos
cosd
cosh
cotan
cotand
count
cpu_time
cshift
csin
csqrt
cycle
dabs
dacos
dacosd
dasin
dasind
data
datan
datan2
datan2d
datand
date
date_and_time
dble
dcmplx
dconjg
dcos
dcosd
dcosh
dcotan
dcotand
ddim
deallocate
decimal
decode
default
delim
dexp
dfloat
dfloti
dflotj
dflotk
digits
dim
dimag
dimension
dint
direct
dll_import
dlog
dlog10
dmax1
dmin1
dmod
dnint
do
dot_product
double
doublecomplex
doubleprecision
dowhile
dprod
dreal
dsign
dsin
dsind
dsinh
dsqrt
dtan
dtand
dtanh
dvchk
else
elseif
elsewhere
encode
encoding
end
endassociate
endblockdata
enddo
endfile
endforall
endfunction
endif
endinterface
endmodule
endprogram
endselect
endsubroutine
endtype
endwhere
endwhile
entry
eor
eoshift
epsilon
equivalence
err
errmsg
error
errsns
execute
exist
exit
exp
exponent
external
file
find
flen
float
floati
floatj
floatk
floor
flush
fmt
forall
form
format
formatted
fraction
free
from
function
getarg
getcharqq
getcl
getdat
getenv
gettim
go
goto
guess
hfix
huge
iabs
iachar
iand
ibchng
ibclr
ibits
ibset
ichar
id
idate
identifier
idim
idint
idnint
ieor
if
ifix
iiabs
iiand
iibclr
iibits
iibset
iidim
iidint
iidnnt
iieor
iifix
iint
iior
iiqint
iiqnnt
iishft
iishftc
iisign
ilen
imag
imax0
imax1
imin0
imin1
imod
implicit
in
include
index
inint
inot
inout
inquire
int
int1
int2
int4
int8
intc
integer
intent
interface
intrinsic
intrup
invalop
iolength
iomsg
ior
iostat
iostat_msg
iqint
iqnint
isha
ishc
ishft
ishft
ishftc
ishl
isign
isnan
izext
jfix
jiand
jibclr
jibits
jibset
jidim
jidint
jidnnt
jieor
jifix
jint
jior
jiqint
jishft
jishftc
jisign
jmax0
jmax1
jmin0
jmin1
jmod
jnint
jnot
jzext
kiabs
kiand
kibclr
kibits
kibset
kidim
kidint
kieor
kifix
kind
kint
kior
kishft
kishftc
kisign
kmax0
kmax1
kmin0
kmin1
kmod
knint
knot
kzext
lacfar
lbound
leadz
len
len_trim
lenlge
lge
lgt
lle
llt
location
locking
locnear
log
log10
logical
loop
lshift
malloc
map
matmul
max
max0
max1
maxexponent
maxloc
maxval
merge
min
min0
min1
minexponent
minloc
minval
mod
module
modulo
mvbits
name
named
namelist
nargs
nbreak
ndperr
ndpexc
nearest
nextrec
nint
nml
none
not
nullify
number
number_of_processors
nworkers
offset
only
open
opened
operator
optional
otherwise
out
ovefl
pack
pad
parameter
pass
pause
peekcharqq
pending
pointer
popcnt
poppar
pos
position
precfill
precision
present
print
private
procedure
product
program
prompt
protected
public
qabs
qacos
qacosd
qasin
qasind
qatan
qatan2
qatand
qcmplx
qconjg
qcos
qcosd
qcosh
qdim
qexp
qext
qextd
qfloat
qimag
qlog
qlog10
qmax1
qmin1
qmod
qreal
qsign
qsin
qsind
qsinh
qsqrt
qtan
qtand
qtanh
quit
quote
radix
radix
ran
rand
random
random_number
random_seed
randu
range
read
readwrite
real
rec
recl
record
recordtype
recursive
remote
repeat
reshape
result
return
rewind
rewrite
rrspacing
rshift
save
scale
scan
secnds
segment
select
selectcase
selected_int_kind
selected_real_kind
selecttype
sequence
sequential
set_exponent
setdat
settim
shape
sign
sin
sind
sinh
size
sizeof
sngl
snglq
spacing
spread
sqrt
stat
status
stop
stream
structure
subroutine
sum
system
system_clock
tan
tand
tanh
target
then
timer
tiny
to
transfer
transpose
trim
type
ubound
undfl
unformatted
union
unit
unlock
unpack
until
use
val
value
verify
virtual
volatile
wait
where
while
write
zabs
zcos
zexp
zlog
zsin
zsqrt

File diff suppressed because it is too large Load Diff

View File

@ -1,634 +0,0 @@
Anchor
Applet
Area
Array
Boolean
Button
Checkbox
Date
E
FileUpload
Form
Frame
Function
Hidden
History
Image
Infinity
JavaArray
JavaClass
JavaObject
JavaPackage
LN10
LN2
LOG10E
LOG2E
Layer
Link
Location
MAX_VALUE
MIN_VALUE
Math
MimeType
NEGATIVE_INFINITY
NaN
Number
Object
Option
PI
POSITIVE_INFINITY
Packages
Password
Plugin
Radio
RegExp
Reset
SQRT1_2
SQRT2
Select
String
Style
Submit
Text
Textarea
URL
URLUnencoded
UTC
XMLDocument
XSLDocument
_content
aLinkcolor
above
abs
acos
action
alert
align
all
anchor
anchors
appCodeName
appCore
appMinorVersion
appName
appVersion
applets
apply
arguments
arguments.callee
arguments.caller
arguments.length
arity
asin
atan
atan2
atob
attachEvent
attributes
availHeight
availLeft
availTop
availWidth
back
background
backgroundColor
backgroundImage
below
bgColor
big
blink
blur
body
bold
boolean
border
borderBottomWidth
borderColor
borderLeftWidth
borderRightWidth
borderStyle
borderTopWidth
borderWidths
bottom
break
btoa
bufferDepth
byte
call
captureEvents
case
catch
ceil
char
charAt
charCodeAt
characterSet
checked
childNodes
class
className
classes
clear
clearInterval
clearTimeout
click
clientInformation
clip
clipboardData
close
closed
colorDepth
compile
complete
components
concat
confirm
const
constructor
contextual
continue
controllers
cookie
cookieEnabled
cos
cpuClass
createElement
createEventObject
createPopup
createStyleSheet
createTextNode
crypto
current
data
debugger
default
defaultCharset
defaultChecked
defaultStatus
defaultValue
defaultView
delete
description
detachEvent
dialogArguments
dialogHeight
dialogLeft
dialogTop
dialogWidth
dir
directories
disableExternalCapture
display
do
doctype
document
documentElement
domain
double
dump
elementFromPoint
elements
else
embeds
enableExternalCapture
enabledPlugin
encoding
enum
escape
eval
event
exec
execCommand
execScript
exp
expando
export
extends
external
false
fgColor
fileCreatedDate
fileModifiedDate
fileSize
fileUpdatedDate
filename
final
finally
find
firstChild
fixed
float
floor
focus
fontFamily
fontSize
fontWeight
fontcolor
fontsize
for
form
formName
forms
forward
frameElement
frames
fromCharCode
function
getAttention
getDate
getDay
getElementById
getElementsByName
getElementsByTagName
getFullYear
getHours
getMilliseconds
getMinutes
getMonth
getSeconds
getSelection
getTime
getTimezoneOffset
getUTCDate
getUTCDay
getUTCFullYear
getUTCHours
getUTCMilliseconds
getUTCMinutes
getUTCMonth
getUTCSeconds
getYear
global
go
goto
handleEvent
hasFocus
hash
height
history
home
host
hostname
href
hspace
ids
if
ignoreCase
images
implementation
implements
import
in
index
indexOf
innerHeight
innerWidth
input
instanceof
int
interface
isFinite
isNaN
italics
java
javaEnabled
join
language
lastChild
lastIndex
lastIndexOf
lastMatch
lastModified
lastParen
layerX
layers
left
leftContext
length
lineHeight
link
linkColor
links
listStyleType
load
localName
location
locationbar
log
long
lowsrc
marginBottom
marginLeft
marginRight
marginTop
margins
match
max
media
menubar
mergeAttributes
method
mimeTypes
min
moveAbove
moveBelow
moveBy
moveTo
moveToAbsolute
multiline
name
nameProp
namespaceURI
namespaces
native
navigate
navigator
netscape
new
next
nextSibling
nodeName
nodeType
nodeValue
null
offscreenBuffering
onAbort
onActivate
onAfterprint
onAfterupdate
onBeforeactivate
onBeforecut
onBeforedeactivate
onBeforeeditfocus
onBeforepaste
onBeforeprint
onBeforeunload
onBeforeupdate
onBlur
onCellchange
onChange
onClick
onClose
onContextmenu
onControlselect
onCut
onDataavailable
onDatasetchanged
onDatasetcomplete
onDblclick
onDeactivate
onDrag
onDragdrop
onDragend
onDragenter
onDragleave
onDragover
onDragstart
onDrop
onError
onErrorupdate
onFocus
onHelp
onKeydown
onKeypress
onKeyup
onLine
onLoad
onMousedown
onMousemove
onMouseout
onMouseover
onMouseup
onPaste
onPropertychange
onReadystatechange
onReset
onResize
onResizeend
onResizestart
onRowenter
onRowexit
onRowsdelete
onRowsinserted
onScroll
onSelect
onSelectionchange
onSelectstart
onStop
onSubmit
onUnload
open
opener
opsProfile
options
oscpu
outerHeight
outerWidth
ownerDocument
package
paddingBottom
paddingLeft
paddingRight
paddingTop
paddings
pageX
pageXOffset
pageY
pageYOffset
parent
parentLayer
parentNode
parentWindow
parse
parseFloat
parseInt
pathname
personalbar
pixelDepth
pkcs11
platform
plugins
plugins.refresh
pop
port
pow
preference
prefix
previous
previousSibling
print
private
product
productSub
prompt
prompter
protected
protocol
prototype
public
push
queryCommandEnabled
queryCommandIndeterm
queryCommandState
queryCommandValue
random
readyState
recalc
referrer
releaseCapture
releaseEvents
reload
replace
reset
resizeBy
resizeTo
return
returnValue
reverse
right
rightContext
round
routeEvents
savePreferences
screen
screenLeft
screenTop
screenX
screenY
scripts
scroll
scrollBy
scrollByLines
scrollByPages
scrollTo
scrollX
scrollY
scrollbars
search
security
securityPolicy
select
selected
selectedIndex
selection
self
setActive
setCursor
setDate
setFullYear
setHotKeys
setHours
setInterval
setMilliseconds
setMinutes
setMonth
setResizable
setSeconds
setTime
setTimeout
setUTCDate
setUTCFullYear
setUTCHours
setUTCMilliseconds
setUTCMinutes
setUTCMonth
setUTCSeconds
setYear
setZOptions
shift
short
showHelp
showModalDialog
showModelessDialog
siblingAbove
siblingBelow
sidebar
signText
sin
sizeToContent
slice
small
sort
source
splice
split
sqrt
src
static
status
statusbar
stop
strike
styleSheets
sub
submit
substr
substring
suffixes
sun
sup
super
switch
synchronized
systemLanguage
tags
taint
taintEnabled
tan
target
test
text
textAlign
textDecoration
textIndent
textTransform
this
throw
throws
title
toGMTString
toLocaleString
toLowerCase
toSource
toString
toUTCString
toUpperCase
toolbar
top
transient
true
try
type
typeof
undefined
unescape
uniqueID
unshift
untaint
unwatch
updateCommands
updateInterval
userAgent
userLanguage
userProfile
vLinkcolor
value
valueOf
var
vendor
vendorSub
visibility
void
volatile
vspace
watch
while
whiteSpace
width
window
with
write
writeln
x
y
zIndex

View File

@ -1,478 +0,0 @@
*error*
*vlisp-new-full-init*
abs
acad_colordlg
acad_helpdlg
acad_strlsort
acdimenableupdate
acet-layerp-mark
acet-layerp-mode
acet-laytrans
acet-ms-to-ps
acet-ps-to-ms
action_tile
add_list
ads
alert
align
alloc
and
angle
angtof
angtos
append
apply
arx
arxload
arxunload
ascii
assoc
atan
atof
atoi
atom
atoms-family
autoarxload
autoload
bhatch
bherrs
boole
boundp
bpoly
c:3dsin
c:3dsout
c:cal
c:fog
c:light
c:lsedit
c:lslib
c:lsnew
c:matlib
c:olprof
c:render
c:renderupdate
c:replay
c:rmat
c:rpref
c:saveimg
c:scene
c:setuv
c:showmat
c:stats
caaaar
caaadr
caaar
caadar
caaddr
caadr
caar
cadaar
cadadr
cadar
caddar
cadddr
caddr
cadr
car
cdaaar
cdaadr
cdaar
cdadar
cdaddr
cdadr
cdar
cddaar
cddadr
cddar
cdddar
cddddr
cdddr
cddr
cdr
chr
client_data_tile
close
command
cond
cons
cos
cvunit
defun
defun-q
defun-q-list-ref
defun-q-list-set
dictadd
dictnext
dictremove
dictrename
dictsearch
dimx_tile
dimy_tile
distance
distof
done_dialog
end_image
end_list
entdel
entget
entlast
entmake
entmakex
entmod
entnext
entsel
entupd
eq
equal
eval
exit
exp
expand
expt
fill_image
findfile
fix
float
fnsplitl
foreach
function
gc
gcd
get_attr
get_tile
getangle
getcfg
getcname
getcorner
getdist
getenv
getfiled
getint
getkword
getorient
getpoint
getreal
getstring
geturl
getvar
graphscr
grclear
grdraw
grread
grtext
grvecs
handent
help
if
initdia
initget
inters
ismnugrploaded
itoa
lambda
last
layoutlist
length
list
listp
load
load_dialog
log
logand
logior
lsh
mapcar
max
mem
member
menucmd
menugroup
min
minusp
mirror3d
mode_tile
mtedit
mtprop
namedobjdict
nentsel
nentselp
new_dialog
not
nth
null
numberp
open
or
osnap
pause
pi
polar
pragma
prin1
princ
print
progn
prompt
quit
quote
read
read-char
read-line
redraw
regapp
rem
repeat
report
reverse
rotate3d
rtos
set
set_tile
setcfg
setenv
setfunhelp
setq
seturl
setvar
setview
sin
slide_image
snvalid
sqrt
ssadd
ssdel
ssget
ssgetfirst
sslength
ssmemb
ssname
ssnamex
sssetfirst
start_dialog
start_image
start_list
startapp
strcase
strcat
strlen
subst
substr
tablet
tblnext
tblobjname
tblsearch
term_dialog
terpri
textbox
textpage
textscr
trace
trans
type
unload_dialog
untrace
vector_image
ver
vl-acad-defun
vl-acad-undefun
vlarts-init
vl-arx-import
vlax-3D-point
vlax-add-cmd
vlax-create-object
vlax-curve-getArea
vlax-curve-getClosestPointTo
vlax-curve-getClosestPointToProjection
vlax-curve-getDistAtParam
vlax-curve-getDistAtPoint
vlax-curve-getEndParam
vlax-curve-getEndPoint
vlax-curve-getFirstDeriv
vlax-curve-getParamAtDist
vlax-curve-getParamAtPoint
vlax-curve-getPointAtDist
vlax-curve-getPointAtParam
vlax-curve-getSecondDeriv
vlax-curve-getStartParam
vlax-curve-getStartPoint
vlax-curve-isClosed
vlax-curve-isPeriodic
vlax-curve-isPlanar
vlax-dump-object
vlax-ename->vla-object
vlax-erased-p
vlax-for
vlax-get-acad-object
vlax-get-object
vlax-get-or-create-object
vlax-get-property
vlax-import-type-library
vlax-invoke-method
vlax-ldata-delete
vlax-ldata-get
vlax-ldata-list
vlax-ldata-put
vlax-ldata-test
vlax-make-safearray
vlax-make-variant
vlax-map-collection
vlax-method-applicable-p
vlax-object-released-p
vlax-product-key
vlax-property-available-p
vlax-put-property
vlax-read-enabled-p
vlax-release-object
vlax-remove-cmd
vlax-safearray->list
vlax-safearray-fill
vlax-safearray-get-dim
vlax-safearray-get-element
vlax-safearray-get-l-bound
vlax-safearray-get-u-bound
vlax-safearray-put-element
vlax-safearray-type
vlax-tmatrix
vlax-typeinfo-available-p
vlax-variant-change-type
vlax-variant-type
vlax-variant-value
vlax-vla-object->ename
vlax-write-enabled-p
vl-bb-ref
vl-bb-set
vl-bt
vl-bt-off
vl-bt-on
vl-catch-all-apply
vl-catch-all-error-message
vl-catch-all-error-p
vl-cmdf
vl-consp
vl-directory-files
vl-doc-export
vl-doc-import
vl-doc-ref
vl-doc-set
vl-every
vl-exit-with-error
vl-exit-with-value
vl-file-copy
vl-file-delete
vl-file-directory-p
vl-filename-base
vl-filename-directory
vl-filename-extension
vl-filename-mktemp
vl-file-rename
vl-file-size
vl-file-systime
vl-get-resource
vl-infp
vl-init
vlisp-compile
vlisp-dclres-list
vlisp-dclres-load-dialog
vlisp-export-symbol
vlisp-fasres-list
vlisp-fasres-load
vlisp-import-exsubrs
vlisp-import-symbol
vlisp-inires-list
vl-list*
vl-list->string
vl-list-exported-functions
vl-list-length
vl-list-loaded-vlx
vl-load-all
vl-load-com
vl-load-reactors
vl-member-if
vl-member-if-not
vl-mkdir
vl-nanp
vl-position
vl-prin1-to-string
vl-princ-to-string
vl-propagate
vlr-acdb-reactor
vlr-add
vlr-added-p
vlr-beep-reaction
vlr-command-reactor
vlr-current-reaction-name
vlr-data
vlr-data-set
vlr-deepclone-reactor
vlr-docmanager-reactor
vlr-dwg-reactor
vlr-dxf-reactor
vlr-editor-reactor
vl-registry-delete
vl-registry-descendents
vl-registry-read
vl-registry-write
vl-remove
vl-remove-if
vl-remove-if-not
vlr-insert-reactor
vlr-linker-reactor
vlr-lisp-reactor
vlr-miscellaneous-reactor
vlr-mouse-reactor
vlr-notification
vlr-object-reactor
vlr-owner-add
vlr-owner-remove
vlr-owners
vlr-pers
vlr-pers-list
vlr-pers-p
vlr-pers-release
vlr-reaction-name
vlr-reactions
vlr-reaction-set
vlr-reactors
vlr-remove
vlr-remove-all
vlr-set-notification
vlr-sysvar-reactor
vlr-toolbar-reactor
vlr-trace-reaction
vlr-type
vlr-types
vlr-undo-reactor
vlr-wblock-reactor
vlr-window-reactor
vlr-xref-reactor
vl-some
vl-sort
vl-sort-i
vl-string->list
vl-string-elt
vl-string-left-trim
vl-string-mismatch
vl-string-position
vl-string-right-trim
vl-string-search
vl-string-subst
vl-string-translate
vl-string-trim
vl-symbol-name
vl-symbolp
vl-symbol-value
vl-unload-vlx
vl-vbaload
vl-vbarun
vl-vlx-loaded-p
vlx-loaded-p
vmon
vports
wcmatch
while
write-char
write-line
xdroom
xdsize
xstrcase
zerop

View File

@ -1,219 +0,0 @@
!AddIncludeDir
!AddPluginDir
!appendfile
!cd
!define
!delfile
!echo
!else
!endif
!error
!execute
!ifdef
!ifmacrodef
!ifmacrondef
!ifndef
!include
!insertmacro
!macro
!macroend
!packhdr
!system
!tempfile
!undef
!verbose
!warning
Abort
AddBrandingImage
AddSize
AllowRootDirInstall
AllowSkipFiles
AutoCloseWindow
BGFont
BGGradient
BrandingText
BringToFront
Call
CallInstDLL
Caption
ChangeUI
CheckBitmap
ClearErrors
CompletedText
ComponentText
CopyFiles
CRCCheck
CreateDirectory
CreateFont
CreateShortCut
Delete
DeleteINISec
DeleteINIStr
DeleteRegKey
DeleteRegValue
DetailPrint
DetailsButtonText
DirText
DirVar
DirVerify
EnableWindow
EnumRegKey
EnumRegValue
Exch
Exec
ExecShell
ExecWait
ExpandEnvStrings
File
FileBufSize
FileClose
FileErrorText
FileOpen
FileRead
FileReadByte
FileSeek
FileWrite
FileWriteByte
FindClose
FindFirst
FindNext
FindWindow
FlushINI
Function
FunctionEnd
GetCurInstType
GetCurrentAddress
GetDlgItem
GetDLLVersion
GetDLLVersionLocal
GetErrorLevel
GetFileTime
GetFileTimeLocal
GetFullPathName
GetFunctionAddress
GetInstDirError
GetLabelAddress
GetTempFileName
Goto
HideWindow
Icon
IfAbort
IfErrors
IfFileExists
IfRebootFlag
IfSilent
InitPluginsDir
InstallButtonText
InstallColors
InstallDir
InstallDirRegKey
InstProgressFlags
InstType
InstTypeGetText
InstTypeSetText
IntCmp
IntCmpU
IntFmt
IntOp
IsWindow
LangString
LangStringUP
LicenseBkColor
LicenseData
LicenseForceSelection
LicenseLangString
LicenseText
LoadLanguageFile
LockWindow
LogSet
LogText
MessageBox
MiscButtonText
Name
Nop
OutFile
Page
PageEx
PageExEnd
Pop
Push
Quit
ReadEnvStr
ReadINIStr
ReadRegDWORD
ReadRegStr
Reboot
RegDLL
Rename
ReserveFile
Return
RMDir
SearchPath
Section
SectionEnd
SectionGetFlags
SectionGetInstTypes
SectionGetSize
SectionGetText
SectionGroup
SectionGroupEnd
SectionIn
SectionSetFlags
SectionSetInstTypes
SectionSetSize
SectionSetText
SendMessage
SetAutoClose
SetBrandingImage
SetCompress
SetCompressionLevel
SetCompressor
SetCompressorDictSize
SetCtlColors
SetCurInstType
SetDatablockOptimize
SetDateSave
SetDetailsPrint
SetDetailsView
SetErrorLevel
SetErrors
SetFileAttributes
SetFont
SetOutPath
SetOverwrite
SetPluginUnload
SetRebootFlag
SetShellVarContext
SetSilent
ShowInstDetails
ShowUninstDetails
ShowWindow
SilentInstall
SilentUnInstall
Sleep
SpaceTexts
StrCmp
StrCmpS
StrCpy
StrLen
SubCaption
SubSection
SubSectionEnd
UninstallButtonText
UninstallCaption
UninstallIcon
UninstallSubCaption
UninstallText
UninstPage
UnRegDLL
Var
VIAddVersionKey
VIProductVersion
WindowIcon
WriteINIStr
WriteRegBin
WriteRegDWORD
WriteRegExpandStr
WriteRegStr
WriteUninstaller
XPStyle

File diff suppressed because it is too large Load Diff

View File

@ -1,467 +0,0 @@
-BGCOLOR=>
-absolute=>
-action=>
-align=>
-alt=>
-anchor=>
-author=>
-background=>
-base=>
-bgcolor=>
-border=>
-borderwidth=>
-boundary=>
-cellpadding=>
-cellspacing=>
-checked=>
-class=>
-code=>
-colheader=>
-color=>
-colspan=>
-columns=>
-command=>
-compact=>
-content=>
-cookie=>
-default=>
-defaultextension=>
-domain=>
-dtd=>
-expand=>
-expires=>
-face=>
-filetypes=>
-fill=>
-foreground=>
-full=>
-head=>
-height=>
-href=>
-initialdir=>
-initialfile=>
-justification=>
-label=>
-labels=>
-language=>
-leftmargin=>
-linebreak=>
-location=>
-maxlength=>
-meta=>
-method=>
-msg=>
-multiple=>
-name=>
-nolabels=>
-nph=>
-on=>
-onBlur=>
-onChange=>
-onClick=>
-onFocus=>
-onLoad=>
-onMouseOut=>
-onMouseOver=>
-onSelect=>
-onSubmit=>
-onUnload=>
-override=>
-padx=>
-pady=>
-path=>
-path_info=>
-query=>
-query_string=>
-refresh=>
-rel=>
-relative=>
-relief=>
-rowheader=>
-rows=>
-rowspan=>
-script=>
-secure=>
-selected=>
-side=>
-size=>
-src=>
-status=>
-style=>
-target=>
-text=>
-textvariable=>
-title=>
-topmargin=>
-type=>
-uri=>
-url=>
-valign=>
-value=>
-values=>
-width=>
-wrap=>
-xbase=>
ARGV
AUTOLOAD
Accept
BEGIN
Balloon
Button
CORE
DATA
DESTROY
END
Entry
Frame
Label
MainLoop
Radiobutton
STDERR
STDIN
STDOUT
SUPER
Tr
UNIVERSAL
__DATA__
__END__
__END__
__FILE__
__LINE__
__PACKAGE__
abs
accept
address
alarm
and
atan2
attach
auth_type
autoEscape
bind
binmode
bless
br
button
caller
caption
chdir
checkbox
checkbox_group
chmod
chomp
chop
chown
chr
chroot
close
closedir
cmp
compile
configure
connect
constant
continue
cookie
cos
crypt
dbmclose
dbmopen
defaults
defined
deiconify
delete
delete_all
die
div
do
dump
each
else
elsif
em
end
end_h1
end_html
end_table
end_ul
endform
endgrent
endhostent
endif
endnetent
endprotoent
endpwent
endservent
eof
eq
escape
escape_HTML
eval
exec
exists
exit
exp
fcntl
filefield
fileno
flock
font
for
foreach
fork
format
formline
ge
geometry
getc
getgrent
getgrgid
getgrname
gethostbyaddr
gethostbyname
gethostent
getlogin
getnetbyaddr
getnetbyname
getnetent
getpeername
getpgrp
getppid
getpriority
getprotobyname
getprotobynumber
getprotoent
getpwent
getpwnam
getpwuid
getservbyname
getservbyport
getservent
getsockname
getsockopt
glob
gmtime
goto
grep
groove
gt
h1
h2
h3
h4
h5
header
hex
hidden
hr
http
https
if
image_button
img
index
insert
int
ioctl
isindex
join
keys
kill
last
lc
lcfirst
le
length
li
link
listen
local
localtime
log
lstat
lt
map
maxsize
minsize
mkdir
msgctl
msgget
msgrcv
msgsnd
multipart_end
multipart_init
multipart_start
my
ne
next
no
not
oct
ol
open
opendir
or
ord
pack
package
param
param_fetch
password_field
path_info
pipe
pop
popup_menu
pos
pre
print
printf
prototype
push
qq
query_string
quotemeta
qw
qx
radio_group
raise
rand
raw_cookie
read
readdir
readline
readlink
readpipe
recv
redirect
redo
ref
referer
remote_addr
remote_host
remote_indent
remote_user
rename
request_method
require
reset
resizable
return
reverse
rewinddir
rindex
rmdir
scalar
script_name
scrolling_list
seek
seekdir
select
self_url
semctl
semget
semop
send
server_name
server_port
server_software
set
setgrent
sethostent
setnetent
setpgrp
setpriority
setprotoent
setpwent
setservent
setsockopt
shift
shmctl
shmget
shmread
shmwrite
shutdown
sin
sleep
socket
socketpair
sort
span
splice
split
sprintf
sqrt
srand
start_form
start_h1
start_html
start_multipart_form
start_table
start_ul
startform
stat
strict
strong
study
sub
submit
substr
symlink
syscall
sysopen
sysread
sysseek
system
syswrite
table
tagConfigure
td
tell
telldir
textarea
textfield
th
tie
tied
time
times
title
tmpFileName
top
tr
truncate
uc
ucfirst
ul
umask
undef
unescape
unescapeHTML
unless
unlink
unpack
unshift
untie
until
update
upload
uploadInfo
url
url_param
use
use_named_parameters
user_agent
user_name
utime
values
variable
vec
virtual_host
wait
waitpid
wantarray
warn
while
width
write
xor

File diff suppressed because it is too large Load Diff

View File

@ -1,290 +0,0 @@
AST
ArithmeticError
AssertionError
AttributeError
BaseHTTPServer
Bastion
CGIHTTPServer
Complex
EOFError
Exception
FloatingPointError
IOError
ImportError
IndentationError
IndexError
KeyError
KeyboardInterrupt
LookupError
MemoryError
Mimewriter
NameError
None
OverflowError
Para
Queue
RuntimeError
SimpleHTTPServer
SocketServer
StandardError
StringIO
SyntaxError
SystemError
SystemExit
TabError
Tkinter
TypeError
UserDict
UserList
ValueError
ZeroDivisionError
__abs__
__add__
__and__
__bases__
__call__
__class__
__cmp__
__coerce__
__del__
__delattr__
__delitem__
__delslice__
__dict__
__div__
__divmod__
__float__
__getattr__
__getitem__
__getslice__
__hash__
__hex__
__iadd__
__iand__
__idiv__
__ilshift__
__imod__
__import__
__init__
__int__
__invert__
__ior__
__ipow__
__irshift__
__isub__
__ixor__
__len__
__long__
__lshift__
__members__
__methods__
__mod__
__mul__
__name__
__neg__
__nonzero__
__oct__
__or__
__pos__
__pow__
__radd__
__rand__
__rdiv__
__rdivmod__
__repr__
__rlshift__
__rmod__
__rmul__
__ror__
__rpow__
__rrshift__
__rshift__
__rsub__
__rxor__
__setattr__
__setitem__
__setslice__
__str__
__sub__
__version__
__xor__
abs
and
apply
array
assert
atexit
break
callable
chr
class
cmd
cmp
codecs
coerce
commands
compile
compileall
complex
continue
copy
dbhash
def
del
delattr
dir
dircmp
dis
divmod
dospath
dumbdbm
elif
else
emacs
eval
except
exec
execfile
filter
finally
find
float
fmt
fnmatch
for
from
ftplib
getattr
getopt
glob
global
globals
gopherlib
grep
group
hasattr
hash
hex
htmllib
httplib
id
if
ihooks
imghdr
import
imputil
in
input
int
intern
is
isinstance
issubclass
joinfields
lambda
len
linecache
list
local
lockfile
long
macpath
macurl2path
mailbox
mailcap
map
match
math
max
mimetools
mimify
min
mutex
newdir
ni
nntplib
not
ntpath
nturl2path
oct
open
or
ord
os
ospath
pass
pdb
pickle
pipes
poly
popen2
posixfile
posixpath
pow
print
profile
pstats
pyclbr
pyexpat
quopri
raise
rand
random
range
raw_input
reduce
regex
regsub
reload
repr
return
rfc822
round
sched
search
self
setattr
setdefault
sgmllib
shelve
site
slice
sndhdr
snmp
splitfields
str
string
struct
sys
tb
tempfile
toaiff
token
tokenize
traceback
try
tty
tuple
type
types
tzparse
unichr
unicode
unicodedata
urllib
urlparse
util
uu
vars
wave
webbrowser
whatsound
whichdb
while
whrandom
xdrlib
xml
xmlpackage
xrange
zip
zmod

File diff suppressed because it is too large Load Diff

View File

@ -1,512 +0,0 @@
<% Option Explicit %>
<%@ language="vbscript" %>
ADODB.Connection
ADODB.Recordset
ALL_RAW
APPL_MD_PATH
APPL_PHYSICAL_PATH
ASP_LICENSE
ASP_OS
ASP_VERSION
ASP_VERSION_MAJOR
ASP_VERSION_MINOR
AUTH_PASSWORD
AUTH_TYPE
AUTH_USER
Abs
And
Application
Application.Lock
Application.Unlock
Archive
Array
Asc
AscB
AscW
Atn
ByRef
ByVal
CBool
CByte
CCur
CDate
CDbl
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE
CERT_SECRETKEYSIZE
CERT_SERIALNUMBER
CERT_SERVER_ISSUER
CERT_SERVER_SUBJECT
CERT_SUBJECT
CInt
CLng
CONTENT_LENGTH
CONTENT_TYPE
CSng
CStr
Call
Case
Chr
ChrB
ChrW
Class
Cos
Count
CreateObject
Date
DateAdd
DateDiff
DatePart
DateSerial
DateValue
Day
Dict.Add
Dict.CompareMode
Dict.Const
Dict.Exists
Dict.Item
Dict.Items
Dict.Key
Dict.Keys
Dict.Remove
Dict.RemoveAll
Dim
Directory
Do
Do Until
Do While
Drive.AvailableSpace
Drive.DriveLetter
Drive.DriveType
Drive.FileSystem
Drive.FreeSpace
Drive.IsReady
Drive.Path
Drive.RootFolder
Drive.SerialNumber
Drive.ShareName
Drive.TotalSize
Drive.VolumeName
Drives.Count
Drives.Item
Else
End Class
End Function
End If
End Property
End Select
End Sub
End Type
End With
Eqv
Erase
Err
Err.Clear
Err.Description
Err.HelpContect
Err.HelpFile
Err.Number
Err.Raise
Err.Source
Eval
Excel.Application
Execute
ExecuteGlobal
Exit Do
Exit For
Exit Function
Exit Property
Exit Sub
Exp
False
File.Attributes
File.Copy
File.DateCreated
File.DateLastAccessed
File.DateLastModified
File.Delete
File.Drive
File.Move
File.Name
File.OpenAsTextStream
File.ParentFolder
File.Path
File.ShortName
File.ShortPath
File.Size
File.Type
FileSystemObject.BuildPath
FileSystemObject.CopyFile
FileSystemObject.CopyFolder
FileSystemObject.CreateFolder
FileSystemObject.CreateTextFile
FileSystemObject.DeleteFile
FileSystemObject.DeleteFolder
FileSystemObject.DriveExists
FileSystemObject.FileExists
FileSystemObject.FolderExists
FileSystemObject.GetAbsolutePathName
FileSystemObject.GetBaseName
FileSystemObject.GetDrive
FileSystemObject.GetDriveName
FileSystemObject.GetExtensionName
FileSystemObject.GetFile
FileSystemObject.GetFileName
FileSystemObject.GetFolder
FileSystemObject.GetParentFolderName
FileSystemObject.GetSpecialFolder
FileSystemObject.GetStandardStream
FileSystemObject.GetTempName
FileSystemObject.MoveFile
FileSystemObject.MoveFolder
FileSystemObject.OpenTextFile
Files.Count
Files.Item
Filter
Fix
Folder.Copy
Folder.CreateTextFile
Folder.DateCreated
Folder.DateLastAccessed
Folder.DateLastModified
Folder.Delete
Folder.Drive
Folder.Files
Folder.IsRootFolder
Folder.Name
Folder.ParentFolder
Folder.Path
Folder.ShortName
Folder.ShortPath
Folder.Size
Folder.SubFolders
Folder.Type
Folders.Add
Folders.Count
Folders.Item
For
For () = () To ()
For () = () To () Step ()
For Each () In ()
ForAppending
ForWriting
FormatCurrency
FormatDateTime
FormatNumber
FormatPercent
Function
GATEWAY_INTERFACE
GetLocale
GetObject
GetRef
HTTPS
HTTPS_KEYSIZE
HTTPS_SECRET_KEYSIZE
HTTPS_SERVER_ISSUER
HTTPS_SERVER_SUBJECT
Hex
Hidden
Hour
INSTANCE_ID
INSTANCE_META_PATH
If
If Then
If Then Else
Imp
InStr
InputBox
InstrB
InstrRev
Int
Is
IsArray
IsDate
IsEmpty
IsNull
IsNumeric
IsObject
Join
LBound
LCase
LOCAL_ADDR
LOGON_USERLog
LTrim
Left
LeftB
Len
LenB
LoadPicture
Loop
Loop Until
Loop While
MAPI.Session
Matches.Count
Matches.Item
Mid
MidB
Minute
Mod
Month
MonthName
MsgBox
Next
Not
Nothing
Now
Oct
On Error
On Error Goto 0
On Error Resume Next
Option Explicit
Or
Outlook.Application
PATH_INFO
PATH_TRANSLATEDPrivate
Private Const
Private Function
Private Property Get
Private Property Let
Private Property Set
Private Sub
Private Sub Class_Terminate
Private Sub object_Initialize
Property Get
Property Let
Property Set
Public
Public Const
Public Default Property Get
Public Default Property Let
Public Default Sub
Public Function
Public Property Get
Public Property Let
Public Property Set
Public Sub
QUERY_STRING
REMOTE_ADDR
REMOTE_HOST
REMOTE_USER
REQUEST_METHOD
RGB
RTrim
Randomize
ReadOnly
Redim
RegExp.Execute
RegExp.Global
RegExp.IgnoreCase
RegExp.Pattern
RegExp.Replace
RegExp.Test
Rem
Replace
Request.BinaryRead
Request.Cookies
Request.Cookies("cookie").HasKeys
Request.Form
Request.Form("form").Count
Request.QueryString
Request.QueryString("id").Count
Request.ServerVariables
Request.TotalBytes
Response.AddHeader
Response.AppendToLog
Response.BinaryWrite
Response.Buffer = True
Response.CacheControl
Response.Charset
Response.Clear
Response.ContentType
Response.Cookies("cookie").Expires
Response.Cookies("cookie").HasKeys
Response.Cookies("cookie").Path
Response.Cookies("cookie").Secure
Response.End
Response.Expires
Response.ExpiresAbsolute
Response.Flush
Response.IsClientConnected
Response.PICS
Response.Redirect
Response.Status
Response.Write
Right
RightB
Rnd
Round
SCRIPT_NAME
SERVER_NAME
SERVER_PORT
SERVER_PORT_SECURE
SERVER_PROTOCOL
SERVER_SOFTWARE
ScriptEngine
ScriptEngineBuildVersion
ScriptEngineMajorVersion
ScriptEngineMinorVersion
Scripting.Dictionary
Scripting.FileSystemObject
Scriptlet.TypeLib
Second
Select Case
Server.CreateObject
Server.HTMLEncode
Server.MapPath
Server.ScriptTimeout
Server.URLEncode
Session
Session.Abandom
Session.Contents
Session.Contents.Remove
Session.LCID
Session.SessionID
Session.StaticObjects
Session.Timeout
Set
Set oRegExp = New RegExp
SetLocale
Sgn
Sin
Space
Split
Sqr
StrComp
StrReverse
String
Sub
System
Tan
Terminate
TextStream.AtEndOfLine
TextStream.AtEndOfStream
TextStream.Close
TextStream.Column
TextStream.Line
TextStream.Read
TextStream.ReadAll
TextStream.ReadLine
TextStream.Skip
TextStream.SkipLine
TextStream.Write
TextStream.WriteBlankLines
TextStream.WriteLine
Then
Time
TimeSerial
TimeValue
Timer
To
Trim
TristateFalse
TristateTrue
TristateUseDefault
True
TypeLib.Guid
TypeName
UBound
UCase
URL
VarType
Weekday
WeekdayName
Wend
While
WinHttp.WinHttpRequest.5.1
With
Word.Application
Xor
Year
adModeRead
adModeReadWrite
adOpenDynamic
adOpenForwardOnly = 0
adOpenKeyset
adOpenStatic
http.responseText
http.send
http.setRequestHeader
vbAbort
vbAbortRetryIgnore
vbApplicationModal
vbArray
vbBinaryCompare
vbBlack
vbBlue
vbBoolean
vbByte
vbCancel
vbCr
vbCritical
vbCrlf
vbCurrency
vbCyan
vbDataObject
vbDate
vbDecimal
vbDefaultButton1
vbDefaultButton2
vbDefaultButton3
vbDefaultButton4
vbDouble
vbEmpty
vbError
vbExclamation
vbFalse
vbFirstFourDays
vbFirstFullWeek
vbFirstJan1
vbFormFeed
vbFriday
vbGeneralDate
vbGreen
vbIgnore
vbInformation
vbInteger
vbLf
vbLong
vbLongDate
vbLongTime
vbMagenta
vbMonday
vbMsgBoxHelpButton
vbMsgBoxRight
vbMsgBoxRtlReading
vbMsgBoxSetForeground
vbNewLine
vbNo
vbNull
vbNullChar
vbNullString
vbOK
vbOKCancel
vbOKOnly
vbObject
vbQuestion
vbRed
vbRetryCancel
vbSaturday
vbShortDate
vbShortTime
vbSingle
vbString
vbSunday
vbSystemModal
vbTab
vbTextCompare
vbThursday
vbTrue
vbTuesday
vbUseDefault
vbUseSystem
vbUseSystemDayOfWeek
vbVerticalTab
vbWednesday
vbWhite
vbYellow
vbYes
vbYesNo
vbYesNoCancel
vbretry

View File

@ -1,90 +0,0 @@
abs
access
add
after
alias
all
and
architecture
array
assert
attribute
begin
block
body
buffer
bus
case
component
configuration
constant
downto
else
elsif
end
entity
error
exit
for
file
function
generate
generic
group
if
in
inout
inertial
impure
is
label
library
loop
map
mod
nand
next
nor
not
null
of
on
or
others
out
package
port
procedure
process
pure
range
record
reject
rem
report
register
return
rol
ror
select
severity
signal
sla
sll
sra
srl
subtype
then
transport
to
type
unaffected
until
use
variable
wait
when
while
with
xnor
xor

View File

@ -1,376 +0,0 @@
abbrev
abstract
accel
ackno
acronym
action
address
affiliation
alt
anchor
answer
appendix
appendixinfo
application
area
areaset
areaspec
arg
article
articleinfo
artpagenums
attribution
audiodata
audioobject
author
authorblurb
authorgroup
authorinitials
beginpage
bibliodiv
biblioentry
bibliography
bibliographyinfo
bibliomisc
bibliomixed
bibliomset
biblioset
blockquote
book
bookinfo
bridgehead
callout
calloutlist
caption
caution
chapter
chapterinfo
citation
citerefentry
citetitle
city
classname
classsynopsis
classsynopsisinfo
cmdsynopsis
co
collab
collabname
colophon
colspec
command
computeroutput
confdates
confgroup
confnum
confsponsor
conftitle
constant
constructorsynopsis
contractnum
contractsponsor
contrib
copyright
corpauthor
corpname
country
database
date
dedication
destructorsynopsis
edition
editor
email
emphasis
entry
entrytbl
envar
epigraph
equation
errorcode
errorname
errortype
example
exceptionname
fax
fieldsynopsis
figure
filename
firstname
firstterm
footnote
footnoteref
foreignphrase
formalpara
funcdef
funcparams
funcprototype
funcsynopsis
funcsynopsisinfo
function
glossary
glossaryinfo
glossdef
glossdiv
glossentry
glosslist
glosssee
glossseealso
glossterm
graphic
graphicco
group
guibutton
guiicon
guilabel
guimenu
guimenuitem
guisubmenu
hardware
highlights
holder
honorific
imagedata
imageobject
imageobjectco
important
index
indexdiv
indexentry
indexinfo
indexterm
informalequation
informalexample
informalfigure
informaltable
initializer
inlineequation
inlinegraphic
inlinemediaobject
interface
interfacename
invpartnumber
isbn
issn
issuenum
itemizedlist
itermset
jobtitle
keycap
keycode
keycombo
keysym
keyword
keywordset
label
legalnotice
lineage
lineannotation
link
listitem
literal
literallayout
lot
lotentry
manvolnum
markup
medialabel
mediaobject
mediaobjectco
member
menuchoice
methodname
methodparam
methodsynopsis
modespec
modifier
mousebutton
msg
msgaud
msgentry
msgexplan
msginfo
msglevel
msgmain
msgorig
msgrel
msgset
msgsub
msgtext
note
objectinfo
olink
ooclass
ooexception
oointerface
option
optional
orderedlist
orgdiv
orgname
otheraddr
othercredit
othername
pagenums
para
paramdef
parameter
part
partinfo
partintro
phone
phrase
pob
postcode
preface
prefaceinfo
primary
primaryie
printhistory
procedure
productname
productnumber
programlisting
programlistingco
prompt
property
pubdate
publisher
publishername
pubsnumber
qandadiv
qandaentry
qandaset
question
quote
refclass
refdescriptor
refentry
refentryinfo
refentrytitle
reference
referenceinfo
refmeta
refmiscinfo
refname
refnamediv
refpurpose
refsect1
refsect1info
refsect2
refsect2info
refsect3
refsect3info
refsynopsisdiv
refsynopsisdivinfo
releaseinfo
remark
replaceable
returnvalue
revdescription
revhistory
revision
revnumber
revremark
row
sbr
screen
screenco
screeninfo
screenshot
secondary
secondaryie
sect1
sect1info
sect2
sect2info
sect3
sect3info
sect4
sect4info
sect5
sect5info
section
sectioninfo
see
seealso
seealsoie
seeie
seg
seglistitem
segmentedlist
segtitle
seriesvolnums
set
setindex
setindexinfo
setinfo
sgmltag
shortaffil
shortcut
sidebar
sidebarinfo
simpara
simplelist
simplemsgentry
simplesect
spanspec
state
step
street
structfield
structname
subject
subjectset
subjectterm
subscript
substeps
subtitle
superscript
surname
symbol
synopfragment
synopfragmentref
synopsis
systemitem
table
tbody
term
tertiary
tertiaryie
textobject
tfoot
tgroup
thead
tip
title
titleabbrev
toc
tocback
tocchap
tocentry
tocfront
toclevel1
toclevel2
toclevel3
toclevel4
toclevel5
tocpart
token
trademark
type
ulink
userinput
varargs
variablelist
varlistentry
varname
videodata
videoobject
void
volumenum
warning
wordasword
xref
year
url

View File

@ -1,21 +0,0 @@
[Explorer]
LastPath=C:\Temp\
SplitterPos=224
SplitterPosHor=200
SortAsc=1
SortPos=0
ColPosName=150
ColPosExt=51
ColPosSize=70
ColPosDate=100
ShowHiddenData=0
ShowBraces=1
ShowLongInfo=0
AddExtToName=0
SizeFormat=1
DateFormat=0
TimeOut=1000
UseSystemIcons=1
LastFilter=*.*
[FilterHistory]
0=*.*

View File

@ -1,12 +0,0 @@
[Folders]
Expand=0
[Files]
Expand=0
[Web]
Expand=0
[Sessions]
Expand=0

View File

@ -1,7 +0,0 @@
[HEX-Editor]
Columns=16
Bits=1
Binary=0
Little=0
Capitel=0
Extensions=

View File

@ -1,7 +0,0 @@
[Console]
Height=162
Visible=0
OEM=1
CmdHistory=0
[Options]
HotKey=F6

View File

@ -1,2 +0,0 @@
[Spell-Checker]
Current Language=en

Binary file not shown.

View File

@ -1,29 +0,0 @@
[FindReplace]
RepositoryFolders=TextFX Original:%CSIDLX_TEXTFXDATA%\ReplaceSets;Most Recent Folder:;My Documents:%CSIDL_PERSONAL%
RepositorySelected=0
[Settings]
SeparateQuickMenus=0
BlockOverwrite=0
AutoCloseBrace=0
AutoCloseHTMLtag=0
AutoSpace2Tab=0
AutoConvertHTML=0
SortAscending=1
SortLinesUnique=0
MarkWordFindCaseSensitive=0
MarkWordFindWholeWord=0
DisableSubclassing=0
CaptureCutCopyPaste=0
CtrlDAlsoDupsBlock=0
[Viz]
VizCaseSensitive=0
VizWholeWords=0
VizRegex=0
VizCutCopyAppend=0
VizClipboardAlwaysCRLF=1
VizClipboardReplaceNulls=0
VizClipboardCopyAlsoUTF8=0
VizClipboardNotUnicode=0
VizPasteRetainsPosition=0
VizPasteBinary=0
VizPasteToEditorEOL=1

View File

@ -1,386 +0,0 @@
Bugs: Indent & Surround is messing up CRLF line endings
Bugs: Delete Blank lines won't delete every line if only blank lines are marked.
To install this plugin, unpack NPPTextFX.DLL and NPPTextFX\*.HTM;*.TXT ;*.INI to the plugins folder in the N++ install folder then load N++. Delete those files without N++ running to remove the plugin. If everything is working, a Plugins menu will appear and the new tool should be listed under it.
To develop this plugin if you have the source, unpack the entire structure to the plugins folder. Dev-C++ and Code::Blocks projects are provided. All the compilers are supported but OpenWatcom32 1.3 produces a DLL that is incompatible with Windows 98.
To view this demo, load it into Notepad++ and perform the actions suggested to see how they work. If many tools are similar, only a few may be shown. No descriptions will be provided for tools that are totally obvious.
**Demo: Characters Menu
**Demo: NPPTextFX
Programmers waste lots of time and make lots of mistakes doing repetetive but simple tasks. TextFX performs a lot of very odd transforms the purpose and usage of which may not be immediately obvious from the menu descriptions even if you perform them manually on a regular basis. Because of the limited user interface implemented, some transforms require obscure actions on your part. This demo will show you in detail what the transforms do and how they are used. Always remember that no matter what happens, Notepad++ can undo it so you can try again, unless of course, you ask TextFX to erase the Undo Buffer.
**Demo: Quote Changers & Text Converters all require some text to be selected
You are often programming several languages at once and each may have different quote ("') rules. The Quote Changers allow you to alter quotes in large blocks in ways that are neither easy nor reliable with normal or regex search and replace. The rules are not tied to the current language selected since some languages are embedded in others.
... This PHP code is incorrect since proper HTML tolerates ' but prefers ".
echo "<Action type='1' message='2170' wParam='0' lParam='0' sParam=' ' />\n";
... We can use the Swap Quotes to alter it to this:
echo '<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />\n';
... but that is still not correct because \n does not expand inside of 'PHP' strings.
... Undo that and Escape ' to \" to get the correct result.
echo "<Action type=\"1\" message=\"2170\" wParam=\"0\" lParam=\"0\" sParam=\" \" />\n";
... Doing this is neither reliable nor easy with search and replace.
**Demo: Zap all characters
This tool is usually used with a rectangular selection on text that is in columns. All it does is convert every character to a space, useful for erasing columns so that new text can be written in. It easily zaps all characters in a non rectangular selection but I can't think of any reason why this would be useful. Zapping all non
**Demo: Zap all non printable characters to #
No compiler will accept following math but it's not immediately obvious where the problem is. Mark it and zap all characters to # and you'll immediately see what the compiler doesn't like. Any character that isn't a part of standard ASCII (32-126 TAB CR LF) is replaced with a # sign. Typically you'll want to undo any changes this tool makes and manually make the corrections. The purpose is to make it easy to find where the odd characters are.
c=x­4;
**Demo: Quick Menu (this menu can be pulled out of the Plugins menu by ticking Move quick ... in TextFX Settings)
**Demo: Mark word or find Reverse/Forward
Programmers need fast and handy ways to jump to different points in a file. In this file, there are some printf statements. Search-Find is clumsy because it requires so many check boxes and text entries to get what you want. Instead, you can move to the nearest printf and hit Ctrl-Alt-DOWN ARROW. If nothing is marked, the nearest word will be marked, and when you hit the key again, the next occurance will be found and remarked to make it easy to find again. You can easily navigate between every such word in this file, including using Ctrl-Alt-UP ARROW to come right back up and continue the demo. If the automatic word selection is insufficient you can make a more precise selection and search for that. Some languages and situations will require that the search word be case sensitive. To make movement fast and easy, no beeps or screen flashes occur when the text is not found. For example, we want to write a new convert() all line but we have forgotten the proper calling sequence. I've written in "convertall" below so I can return to this point then we can find the next occurance to see how the function is used, make a copy, and bring it back.
convertall
**Demo: Matching Brace tools require a brace to the left or right of your cursor. The left will be used if there is a brace on each side. You may optionally select the brace but this is usually not necessary.
Mark to matching brace is best used to grab () enclosed text. In the following, we would like to move (bktpos=...) somewhere else but it's hard to visually pick out the correct ending parenthesis because of the confusion. Place your cursor to the left of "(bkt..." and select "Mark to matching brace". We can be to the left because there is no other brace to the left of the carat that could be used instead. You could also place your carat to the right of the ) if you knew which one it was.
if (curpos>0 && (bktpos=SendMessage(getCurrentHScintilla(currentEdit), SCI_BRACEMATCH, curpos-1, 0))>=0) {
Mark lines to matching brace is best to grab complete function, do, while, and if code blocks. We want to move the following struct somewhere else. If we were to select Mark to matching brace, we would need to manually augment the selection to include the "struct NppData" and some whitespace at the end which is quite difficult. Place your cursor on either { or } and select Mark lines to matching brace.
struct NppData {
HWND _nppHandle;
HWND _scintillaMainHandle;
HWND _scintillaSecondHandle;
};
... Notice that lines are marked after the end of the } up to the next non CR/LF so the entire function along with the trailing whitespace is marked. No whitespace left behind! If demand warrants I'll support crossing over "} else {" lines to reach the end of the if statement.
**Demo: Edit Menu
**Demo: Fill down & insert
We have just modified the convertall() function to take an additional integer parameter after the first char. I have modified the first line with the new desired value but I'd prefer not to hit the down-left sequence that everyone loves to hate. Having recently lined up the by a (,), I'd prefer making a rectangular selection around the text and the lines to which it is to be copied and having the editor insert the text for me when I pick Fill down & insert. Spreadsheets have done this for like, ever. Why can't editors do it?
v Alt-Click before the 0
convertall('c',0,"'" ,"\"" ,NULL,NULL);}
convertall('c',"\"" ,"'" ,NULL,NULL); }
convertall('C',"\"'","'\"",NULL,NULL);}
^drag until after the slash (for demo above)
^drag until after the 0 (for demo below)
Thanks to us putting in the wrong value, we can demonstrate the other fill tool. We want all (1) ones to be in that newly created parameter. Change the first one to a (1) one then box out a single column for the 3 digits vertically. Select Fill down & overwrite and they will all switch to ones.
**Demo: Insert (Clipboard) at column through lines
This demo is tricky at first but is quite easy when you get used to it, much easier than hitting down-left-text-down-left-text... The first step is to specify the text to be inserted. The following lines need to have id changed to "testid". First, we mark the word test (<- you can mark that one if you want) and copy that to the clipboard. Then, we mark the following text without the Alt key starting just before the i of id and mark down to just before the i of the last id, then select Insert ... through lines. In standard editors, transforms typically do something to the entire selection. For a programmer's editor, we don't adhere to that rule for substantially greater functionality.
v-start before this i
<Item id="42001"/>
<Item id="0"/>
<Item id="42022"/>
<Item id="42023"/>
^end before this i
... inserting is not limited to static text. You can use # to specify incrementing
counters and $+-number$ to insert before, at, or after the end of line. Here are some
// Examples:
// "text" insert text
// "#" insert 0..1..2..3...
// "#5" insert 5..6..7..8..9... (the default increment is +1)
// "#5+2" insert 5..7..9..11...
// "$#5-2" insert 5..3..1..-1... at end of line
// "$$M$soft" insert M$soft at end of line
// "$4$text" insert text 4 characters beyond end of line. line will be ammended as necessary
// "$-3$#-5-2" insert -5..-7..-9..-11... 3 characters before end of line. lines that are too short will be skipped
This capability is likely to be expanded greatly when someone thinks of how.
**Demo Reindent C++ code:
This feature is begged for over and over in editor forums. It's a shame that more editors don't have it since it is easy enough to implement. It calculates the starting indent from the first marked line then simply counts { and } to increase and decrease the indent. This is not intended to be a full styler. All it does is reindent, particularly so you can find that bracket nesting error which is suddenly causing everything to crash. If you code doesn't compile, you might get some unexpected indent results. There are some special cases:
1) Indents for /* stream comments */ are not changed.
2) goto labels and #preprocessor statements are always at the beginning of the line
3) switch..case statements are indented in a special way that allows them to follow the bracket count exactly. I've always manually written them this way and was very glad when the easiest numeric technique was the one I had been using from the beginning.
4) Since there are no braces, this case is too much extra work to implement properly. These lines will be flat.
if (cond)
stmt;
else
stmt;
5)
There's some code not far down that needs some reindenting.
**Demo: convert leading spaces or tabs to ...
This will read tabwidth and Replace by Space under Settings-Tab Settings and perform the proper conversion of leading whitespace, destroying any non tabwidth multiples of spaces. If a lifetime of horrible editors has trained you to use spaces because tab handling and conversion is so bad, you can train yourself to use tabs by turning on [x]Autoconvert typed leading spaces to tabs and when ever you enter enough spaces, a tab will be substituted in their place. You will need to show Whitespace and Tabs if you want to see this in action. You must have Replace by Space unchecked for this conversion to take place.
**Demo: trim trailing spaces
The best programmer editors always trim trailing spaces and always allow the cursor to go beyond the end of the line. The built in editor in Borland C++ 3.1 DOS does this. When cirumstances prevent you from using an editor done right, extra spaces accumulate randomly on the end of lines. This tool kills them. I had considered removing this since Notepad++ implements it but there are two problems. The N++ implementation is substantially slower than mine, and N++ always trims spaces over the entire file. There might be areas where you don't want spaces removed.
**Demo: Indent sticky...
Every editor author thinks they know how to indent until someone else starts writing code. The following code needs some indenting. Which lines should and should not be indented?
void indentfn(char *text,int tabwidth) {
char *d;
if (*text) {
for(d=text; *d; *d++) {
#ifdef DEBUG
/* Another Debug Routine */
printf(".");
#endif
// Erase some text
*d=' ';
}
}
}
Try marking the improperly indented lines from "for..." to the first "}" and indenting with the built in tool (Edit-Insert TAB (Indent)). Then undo and try the TextFX sticky indent. Which one is more desirable? Notice that undent does not present these complex problems. Now mark the entire function from "void..." to the last "}" and sticky indent to see that the indent is not sticky if the first marked line starts without any whitespace.
**Demo: Indent and Surround with {}
Same as indent but it ads a two lines with { and } around the text ready and waiting for a control statement.
**Demo: Strip unquoted text.
Initially you write nasty code. Later you decide to write a much better code to process some strings but now you need to get the strings now interspersed in code into an array. First copy a (,) into the clipboard as our separator, select the following lines, then select Strip unquoted text and you'll see the strings nicely separated by commas. A CRLF works good as a separator too.
if (strcmp(s,"NASTY")) {
} else if (strcmp(s,"CODE")) {
}
If you leave more than 20 characters in the clipboard, a comma (,) will be used as the separator.
**Demo: Kill unquoted whitespace
Lining up text by (,) or other characters can lead to whitespace getting out of hand. Sometimes you need to revert back to the original non spaced version. Select Kill unquoted whitespace to make the following lines small again.
{"E:-" ,pfdummy ,0,FALSE},
{"E:Sort lines case sensitive (at column)" ,pfqsortlinesc ,0,FALSE}, // this isn't handled right
{"E:Sort lines case insensitive (at column)" ,pfqsortlinesnc ,0,FALSE},
{"E:+Sort ascending" ,pfSortAscending ,0,TRUE} ,
{"E:+Sort outputs only UNIQUE (at column) lines",pfSortLinesUnique,0,TRUE} ,
{"E:-" ,pfdummy ,0,FALSE},
**Demo: Split lines at clipboard character.
Joining lines is easy. Splitting lines is more trouble. The following lines can be converted from a list on a single line to a list on multiple lines. Copy a (,) to the clipboard and select Split lines at clipboard character. This tool may be dropped when Replace is improved to where it can do the same thing.
" Quick"," Edit"," Convert"," HTML Tidy"," Tools"," Viz"," Viz Settings"," Settings"
**Demo: Line up multiple lines
The following lines are hard to read and would be much easier to debug if all the commas (,) were lined up. Select the text and choose Line up ... by (,). Notice that the (,) embedded in the string is skipped. At this time I'm only detecting C-strings but VB/SQL and non escaped string detection is already available and used in some other tools should demand warrant its addition. Most of the time you can just manually fix any incorrectly detected characters.
{"Escape \" to \\\"",convertescapesq,0,FALSE},
{"Escape ' to \\\"",convertescape1qsq,0,FALSE},
{"unEscape \\\" to \"",convertunescapesq,0,FALSE},
{"1:Line up multiple lines by (,)",lineupcomma,0,FALSE},
... You may line up by equals (=) or any character of your choice by copying the desired lineup character to the clipboard and selecting Line up ... by (Clipboard).
**Demo: Rewrap Text
To rewrap text at any desired column number, copy the number to the clipboard and select Rewrap Text at (clipboard) column. If you use a number<8 or number>2048, the default width of 72 will be used. Rewrap text automatically assumes that blank lines are the start of a new paragraph.
**Demo: Pad rectangular selection with spaces
The Scintilla editor component copies a rectangular selection that includes uneven end of lines as a jagged edge. This is no good if where you want to paste it requires that the right edge be smooth. Use this tool on a rectangular selection in the following text from "Short" to "Longer Line" and you'll be able to copy and paste as a truly rectangular block. If the last line isn't long enough to envelope all the lines you will need to pad with spaces manually.
Ignore This Short
Ignore This Long Line
Ignore This Longer Line
**Demo: Convert Menu
**Demo: Encode HTML/URI compnent
The following is an address we would like to embed in our web page. Upon submitting it to http://validator.w3.org/ we get a barrage of errors that indicate that we have used & inappropriately. We can fix that by selecting the latter part of the href and selecting Encode HTML.
<html>
<a href="/search?hl=en&lr=&q=related:www.jcu.edu/math/vignettes/magicsquares.htm">Similar&nbsp;pages</a>
</html>
This will convert the 4 characters <"&> to the appropriate &entity; If you would like special HTML characters converted as you type, enable Autoconvert typed HTML/XML. The <OpenTag, >Close Tag, and "quot; conversions are blocked depending on your position near an open or closed tag to allow tags to be typed without turning this feature off. Autoconvert HTML/XML only scans the current line for open/close tags so characters may convert in multi line tags unexpectantly. Use UNDO to revert any undesired automatic action.
**Demo: Strip HTML tags
This converts HTML to plain text, using or not using tabs for tables as desired. You can select the above HTML and see how little is left after Strip HTML tags. Some common &entity; characters are converted. Unlike most editors which only strip the tags, I try to produce the same amount of whitespace as would be produced from a browser rendered page. You may want to delete surplus blank lines and unwrap text on the text output.
**Demo: Submit HTML to W3C
Select the HTML above and select Submit HTML. The text will be launched in a browser ready to submit to the W3C. If you don't mark any text, the entire file will be sent.
**Demo: Convert .. code command()
We have the following embedded HTML that we need to change into program lines because we now need our server side scripting to calculate the values. Select the language you want the resulting code to run in then you can change the following into code:
<ScintillaContextMenu>
<Item id="42001"/>
<Item id="42002"/>
<Item id="42005"/>
<Item id="42022"/>
<Item id="42023"/>
</ScintillaContextMenu>
... I'll select Language=ASP which will produce the following VBScript compatible code, correctly terminated and escaped for VB:
Response.Write("<ScintillaContextMenu>"&vbCrLf)
Response.Write(" <Item id=""42001""/>"&vbCrLf)
Response.Write(" <Item id=""42002""/>"&vbCrLf)
Response.Write(" <Item id=""42005""/>"&vbCrLf)
Response.Write(" <Item id=""42022""/>"&vbCrLf)
Response.Write(" <Item id=""42023""/>"&vbCrLf)
Response.Write("</ScintillaContextMenu>"&vbCrLf)
... Notice that the indentation was calculated from the first line processed and is preserved throughout all the lines processed. Pick an unsuported language like "Normal Text" and choose Convert ... code command() to see what languages are currently supported.
**Demo: Convert text to hex
There are lots of requests for a hex editor. Initially I though that a hex editor would be too difficult to implement as a plugin. Then I thought of simply converting the text to hex and edit it as text but it seemed too stupid to bother implementing. Now I use it constantly and would rather have it than most other hex editors. Later, I discovered the need to expand from 16 to 128 characters per line. You can pick as little or as much text as you want to convert to hex. Because this isn't a real hex editor you get to change the text pretty much any way you want and you are fully able to import or produce textual hex listings. When you go to convert hex back to text, you need to be aware of a few rules...
**Demo: Convert hex to text
Once you have modified hex or imported it from elsewhere and want to converted to characters, you need to know how it decodes so that you can make way for major unsafe hex. Characters are produced from hex codes that are exactly two and only two hex characters (0-9,A-F,a-f) followed by a space or a dash (-). The decoding jumps to the next line when 3 spaces or a vertical bar (|) is hit. This should be compatible with all DEBUG outputs and most common hex listings. Since it is real text you are editing, you can use the normal editor tools to doctor non compilant hex up so that it will convert to characters properly. There is no required number of hex on a line so you can add or remove hex or entire lines as desired. The offset number need not be present. The text decode on the right need not be present. The only warning you'll get is if you convert hex with offsets and the offsets don't match the original position in the file. Just think of the terrible things that can be accomplished with a binary safe editor.
**Demo: Convert hex byte runs to LE-...
It's a bit hard to read Little Endian WORD and DWORDS in one byte hexen. These tools will allow you to concatenate those Little Endian hexors 2 or 4 at a time in the correct order. Because the hex you are editing is nothing but text, you can select precisely the runs you want to see in a different word size.
**Demo: Convert LE-words to hex byte runs
Once you get your screen all doctored up with WORDS and DWORDS, you may wish to convert the whole thing back to characters. Don't start with converting hex to text because that only recognizes 2 character hex sequences. 4 and 8 character sequences will be discarded. You must first use this tool to convert them all back to 2 character hex runs. This tool autodetects the width which can be any even number of hex characters and it jumps to the next line when 3 spaces or a vertical bar (|) is detected. Note that the hex offset is always 9 hex characters so it is skipped.
**Demo: ROT13 Text
Vs lbh pna ernq guvf, V guvax lbh'ir svtherq guvf bar bhg! Move along, nothing to see here!
**Demo: Ascii & EBCDIC
Vedit is the only true EBCDIC editor I've heard of. All the rest including this one perform a lossy conversion back and forth. This is usually sufficient for minor uses and better than not having it at all.
EBCDIC: ㈅@˜¤‰ƒ’@‚™–¦•@†–§@‰†Mð]@À£ˆ…@“<>©¨@„‡KÐ
There is a built in ASCII EBCDIC table and one provided in a disk file "AsciiToEBCDIC.bin". All of the conversion tables I found differed substantially so I picked the Microsoft table which may not be the best for everyone. If this table isn't good enough, load the .bin file into Notepad++, use the hex conversion, and build a table you like better. If the .bin file is not exactly 512 bytes it will be ignored and the internal table will be used instead. The first 256 bytes convert ASCII -> EBCDIC. The last 256 bytes convert EBCDIC to ASCII.
**Demo: Tidy Menu
**Demo: HTML Tidy (Thanks to PSPAD, an excellent freeware editor, for the ready-made conversions)
HTML Tidy is an optional component that may not be included with your Notepad++ distribution. If it is not present, most menu items will be disabled and a menu item to the download site will be provided. Select About Tidy to find out what went wrong during loading. The TextFX plugin source includes a project to compile Tidy sources into a DLL if you need a newer one than is available. You may also download the publically available libTidy.DLL which is very old and lacks many modern features.
Once you get HTML Tidy installed and running the menus will open up and About Tidy will show you the Tidy version in use. If SubClassing is disabled, you can only run Tidy against a single configuration in HTMLTIDY.CFG which you may need to build and change yourself. If SubClassing is enabled, Tidycfg.ini is scanned to produce the menu items (limit 50) from which HTMLTIDY.CFG is automatically generated each time you select a Tidy Menu item. If you run the same Tidy over and over, the first Tidy option will run Tidy with the same configuration until another Tidy menu item alters it. If you add or alter the name of any Tidy menu options in Tidycfg.ini you can select Refresh Menu to update the menu from the file.
Tidy will use the selected text or the entire file if no text is selected. Often times a Tidy run will produce a Htmltidy.err file which you can leave loaded in another Notepad++ tab and any time it changes, that tab will refresh the error text.
**Demo: Sort lines
You can sort lines on the the first character or at any column of the line. Entire lines will be sorted and where you start your mark on the line determines which column the sort starts on. Text before that column on every line is not considered in the sort or uniqueness test.
v-start before the "P" marking entire lines to sort on the first column
v v-start marking before this character to sort on this column
PFUNCPLUGINCMD hex2decimal() { convertall('n',CAFLAG_DENYBLOCK,"h","d",NULL,NULL); }
PFUNCPLUGINCMD octal2decimal() { convertall('n',CAFLAG_DENYBLOCK,"o","d",NULL,NULL); }
PFUNCPLUGINCMD binary2decimal() { convertall('n',CAFLAG_DENYBLOCK,"b","d",NULL,NULL); }
Line 1 XYZZY
Line 2 The Cave
Line 3 XYZZY
Line 4 XYZZY
Line 5 The Cave
If you sort the above lines at the column starting XYZZY outputing only unique lines, only a two lines will be output. Since a tool to insert and remove line numbers is provided, you can sort unique lines then return them back to their original order in 4 steps.
1) Insert line numbers
2) Sort unique after the line numbers
3) Sort the line numbers
4) Remove the line numbers
**Demo: Tools Menu
**Demo: Insert Ascii chart or character.
If you mark a single character, one line of the ascii chart is inserted
into the document for that character. Otherwise the entire 0-256 Ascii
chart is inserted. If you don't know the ascii code for the following,
you can select it and choose Insert Ascii ... and all of it's codes will
be inserted.
¨
**Demo: Insert Ruler
Notepad++ doesn't have a ruler so I built one that can be inserted into the document. Using rectangular copy and paste you can make this ruler as long as you need.
--- 0---|--- 10---|--- 20---|--- 30---|--- 40---|--- 50---|--- 60---|--- 70---|--- 80---|--- 90---|
123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|
**Demo: add up numbers
Most of my use of commerical spreadsheets is to type in a column of
numbers and add them up. I thought it would be nice if my plugin could
do the same thing. The following is a magic square. You can select each
line and column and use Add up Numbers to verify it. You may sum the
entire square to verify that it is 4 times what the line sum is.
16 3 2 13
5 10 11 8
9 6 7 12
4 15 14 1
**Demo: Viz Menu
**Demo: Hide/Show Lines
Some editors implement code folding which takes too much manual labor to set up. Some editors can bookmark all found lines but this is little use if you need to see many lines of bounding text interspersed with undesired text. Viz can hide and show lines based on a search criteria or selected lines. You can run several viz operations in a row to generate a sequence that can be inserted as comment text and reused later. Select Show ... All/Reset Lines to start a new sequence.
**Demo: For example, we would like to know what all the Demos are in this file.
**Demo: Copy **Demo to the clipboard then select Hide Lines Without (Clipboard)
**Demo: text. Now you can move around, make changes, search/replace, copy text
**Demo: from one place to another, perhaps return to your starting position, and
**Demo: when finished, select Show All Lines to continue the demo! The line you
**Demo: started on is always left visible no matter what rules may try to hide it
**Demo: Cut-Copy-Delete tools are provided to operate specifically on hidden
**Demo or visible text. Be careful since all other operations on selected text
**Demo: includes all the hidden text in between.
**Demo: Viz Settings Menu
**Demo: Cut Copy Paste
I have added many features to cut copy and paste so I have Subclassed Scintilla's. The original tools are still available in the edit menu in case you find a situation that isn't handled right. At this time Paste Binary cannot paste rectangular text. I expect to have this working in the near future. The default Viz Settings are selected to be both compatible with the Scintilla originals and to be more officially compatible with the Windows Clipboard.
**Demo: Cut-Copy not in UNICODE
Scintilla is a UTF-8 editor which is why there are no double byte Scintilla messages. UCS-2 is always handled through translation, such as copying to the Windows Clipboard. Unicode is preferred on the clipboard because Windows can paste it into any Unicode aware application. Windows cannot translate UTF-8 to UNICODE. In some cases it will be necessary to have the UTF-8 text on the clipboard without the UNICODE conversion. This option will only copy UTF-8 as 8 bit ANSI and Windows may convert it to a double byte padded UTF-8, any of which will paste as UTF-8 into any application. Depending on the OS and the editor mode, this and similar options may be autoselected or blocked to ensure compatibility.
**Demo: Capture Keyboard Ctrl+C,X,V
TextFX doesn't yet do the conversions from UNICODE to ansi codepages that Scintilla does. If this is a problem in your language you will want these keys to map to the built in Scintilla routines. If this is only a rare occurance then you may want to use Edit: Cut-Copy-Paste and let TextFX have these keys.
**Demo: Paste/Append binary
Paste binary disables EOL conversion and takes the entire contents without the last NUL character. Binary paste may behave unexpectedly depending on the copy-cut application and OS. Check operation carefully before using regularly. For example, Windows 9x pads the buffer with random trash. Many editors are not careful about how big the clipboard buffer is.
**Demo: Settings Menu
**Demo: Cancel overwrite moving from current line
Proper handling of Insert/Overwrite is ignored by editor authors but vexes programmers constantly. So far switching to insert moving away from the current line is the best way I have thought of to eliminate overwrite accidents without totally disabling overwrite mode.
**Demo: Autoclose HTML tag
This is copied and updated from the N++ supplied InsertPluginDemo. I hope it handles more strange cases than the original. You must have an appropriate language selected (HTML,XML) for this feature to perform. Any time you type a tag such as <html>, a closing tag </html> will be inserted after the cursor, unless you enter a close or self closing tag like </pre> or <br/>. A single UNDO will remove any undesired automatic action.
**Demo: Autoclose brace
Each time you type a ([{, it will be closed for you. ([ will be closed immediately after the cursor and the { will be closed on the next line with the same indent as the current line. A single UNDO will remove any undesired automatic action. You must have a supported language selected for this feature to perform and you must be at the end of a line. Braces will not be autoclosed when editing existing text.
**Demo: Disable Subclassing and advanced features.
At this time the extended Tidy menu and Ctrl-B require subclassing to capture. A future version of Notepad++ may cause Subclassing to fail to operate correctly. The features are still available in a more limited form if Subclassing is turned off.
**Demo: Move quick menus out of 'Plugins' Menu
TextFX Quick and TextFX Viz can be made into separate menus for easier use. They are left inside Plugins by default so that users know that TextFX is separate from Notepad++.
**Demo: Improve Home-End ...
Many people ask for Home and End to not go from BOL to EOL in line wrap mode. The ability to go EOL and BOL of screen lines is built in to Scintilla. This option enables it.

View File

@ -1,190 +0,0 @@
; quick reference: http://tidy.sourceforge.net/docs/quickref.html
; cesky preklad: http://www.pspad.com/cz/tidy.htm
; sample config file for HTML tidy from http://www.w3.org/People/Raggett/tidy/
[Sample from Web Page]
indent: auto
indent-spaces: 2
wrap: 72
markup: yes
output-xml: yes
input-xml: no
show-warnings: yes
numeric-entities: yes
quote-marks: yes
quote-nbsp: yes
quote-ampersand: no
break-before-br: no
uppercase-tags: no
uppercase-attributes: no
char-encoding: latin1
new-inline-tags: cfif, cfelse, math, mroot,
mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover,
munder, mover, mmultiscripts, msup, msub, mtext,
mprescripts, mtable, mtr, mtd, mth
new-blocklevel-tags: cfoutput, cfquery
new-empty-tags: cfelse
[TiDy clean Document - wrap]
bare:no
clean:no
fix-bad-comments:yes
fix-backslash:yes
indent:yes
indent-attributes:no
indent-spaces:2
char-encoding:raw
replace-color:yes
wrap:80
wrap-asp:yes
wrap-jste:yes
wrap-php:yes
write-back:yes
[TiDy clean Document - nowrap]
bare:no
clean:no
fix-bad-comments:yes
fix-backslash:yes
indent:yes
indent-attributes:no
indent-spaces:2
char-encoding:raw
replace-color:yes
wrap:0
wrap-asp:no
wrap-jste:no
wrap-php:no
write-back:yes
[TiDy clean Document - nowrap, no indent]
bare:no
clean:no
fix-bad-comments:yes
fix-backslash:yes
indent:no
indent-attributes:no
indent-spaces:2
char-encoding:raw
replace-color:yes
wrap:0
wrap-asp:no
wrap-jste:no
wrap-php:no
write-back:yes
[TiDy clean Microsoft Word 2000 document]
doctype:auto
drop-empty-paras:yes
fix-bad-comments:yes
fix-uri:yes
join-styles:yes
lower-literals:yes
ncr:yes
quote-ampersand:yes
quote-nbsp:yes
word-2000:yes
markup:yes
wrap-jste:yes
wrap-php:yes
wrap-sections:yes
write-back:yes
[TiDy clean Document - quote]
quote-ampersand:yes
quote-marks:yes
quote-nbsp:yes
write-back:yes
[TiDy upgrade to CSS]
add-xml-decl:no
;add-xml-pi:no
alt-text:Image
break-before-br:no
clean:yes
doctype:auto
drop-empty-paras:no
drop-font-tags:yes
fix-backslash:yes
fix-bad-comments:yes
hide-endtags:no
char-encoding:raw
indent:yes
indent-spaces:2
input-xml:no
markup:yes
quiet:yes
tidy-mark:no
uppercase-attributes:no
uppercase-tags:no
word-2000:yes
wrap:100
wrap-asp:yes
wrap-attributes:yes
wrap-jste:yes
wrap-php:yes
write-back:yes
[TiDy convert to XML]
add-xml-decl:yes
;add-xml-pi:yes
alt-text:Image
break-before-br:no
clean:yes
doctype:AUTO
drop-empty-paras:no
drop-font-tags:yes
fix-bad-comments:yes
hide-endtags:no
char-encoding:raw
indent:yes
indent-spaces:2
input-xml:no
markup:yes
output-xml:yes
quiet:yes
tidy-mark:no
uppercase-attributes:no
uppercase-tags:no
word-2000:no
wrap:100
wrap-asp:yes
wrap-attributes:yes
wrap-jste:yes
wrap-php:yes
write-back:yes
[Tidy convert to XHTML]
add-xml-decl:no
;add-xml-pi:no
alt-text:Image
break-before-br:no
clean:yes
doctype:auto
drop-empty-paras:no
drop-font-tags:yes
error-file:error.log
fix-backslash:yes
fix-bad-comments:yes
hide-endtags:no
char-encoding:raw
indent:yes
indent-spaces:2
input-xml:no
markup:yes
output-xhtml:yes
output-xml:no
quiet:yes
tidy-mark:no
uppercase-attributes:no
uppercase-tags:no
word-2000:no
wrap:100
wrap-asp:yes
wrap-attributes:yes
wrap-jste:yes
wrap-php:yes
write-back:yes
[Tidy: Reindent XML]
input-xml: yes
indent:yes

View File

@ -1,5 +0,0 @@
<html>
<form action="http://jigsaw.w3.org/css-validator/validator" method="put">
<textarea name="text" rows="12" cols="75">%s</textarea><br/>
<input type="submit" value="Check" />
</form>

View File

@ -1,6 +0,0 @@
<html>
<form method="post" enctype="multipart/form-data" action="http://validator.w3.org/check">
<textarea cols="75" rows="12" name="fragment" id="fragment">%s</textarea><br />
<input type="submit" value="Check"/>
</form>
</html>

Binary file not shown.

View File

@ -1,72 +0,0 @@
****************************************************************************
* NppExec plugin ver. 0.2 for Notepad++ 4.0.2 (and above)
* by DV, December 2006 - April 2007
****************************************************************************
*
* Possibilities:
* 1) Run multiple commands from main window
* 2) Run stand-alone command from Console Dlg
* 3) Additional commands:
* npp_exec <script> - execute commands from specified script
* npp_exec <file> - execute commands from specified file (*)
* npp_open <file> - open a file in Notepad++
* npp_run <command> - run external process/command
* npp_save - save current file in Notepad++
* npp_save <file> - save a file in Notepad++ (if it's opened) (*)
* npp_switch <file> - switch to specified opened file (*)
* (*) these commands work with a partial file path/name also
* i.e. npp_save c:\dir\f.txt is the same as npp_save f.txt
* 4) Additional console commands (Console Dlg only):
* cls - clear Console screen
* help - show available commands
* CTRL+C - terminate current child process
* CTRL+BREAK - terminate current child process
* 5) All Notepad++ environment variables are supported:
* $(FULL_CURRENT_PATH) : E:\my Web\main\welcome.html
* $(CURRENT_DIRECTORY) : E:\my Web\main\
* $(FILE_NAME) : welcome.html
* $(NAME_PART) : welcome
* $(EXT_PART) : html
* $(NPP_DIRECTORY) : the full path of notepad++'s directory
* $(CURRENT_WORD) : word(s) you selected in Notepad++
* 6) Additional environment variables:
* $(#0) : C:\Program Files\Notepad++\notepad++.exe
* $(#N), N=1,2,3... : full path of the Nth opened document
*
****************************************************************************
*************
* HISTORY *
*************
v0.2 beta3 - April 2007
-----------------------
- fixed: Delete button (Script name dialog) was not enabled sometimes
+ Menu: Show Console Dialog
+ Console Output Filter: Exclude all empty lines
+ Comment delimiter can be user-defined, // in :// is no more comment
v0.2 beta2 - March 2007
-----------------------
+ Menu: Console Commands History.
When enabled, previous commands can be scrolled by pressing
arrow keys Up and Down.
+ Menu: Console Output Filter.
When enabled, output messages from running console process
can be filtered (i.e. particular lines can be excluded)
- ConsoleDlg: Ctrl+A is unlocked
- ConsoleDlg: Quotes "" are no more added automatically for paths
with spaces (because of a bug with executables w/o extension
such as "cmd /c calc.exe")
- Several internal fixes
- Several additional internal fixes :-)
* Thanks to Jim Granville for his suggestions
v0.1 - March 2007
-----------------
* initial version

View File

@ -1,139 +0,0 @@
****************************************************************************
* NppExec plugin ver. 0.2 for Notepad++ 4.0.2 (and above)
* by DV, December 2006 - April 2007
****************************************************************************
***************************
* Technical Information *
***************************
NppExec has advanced "hidden" settings which can be set manually.
You need to edit NppExec's ini-file: "\Plugins\Config\NppExec.ini".
--------------------------------------------------------------
| KEY | DEFAULT VALUE | TYPE |
|--------------------------------------------------------------|
| ChildProcess_StartupTimeout_ms | 240 | int |
| ChildProcess_CycleTimeout_ms | 120 | int |
| Path_AutoDblQuotes | 0 (FALSE) | BOOL |
| CmdHistory_MaxItems | 256 | int |
| Exec_MaxCount | 100 | int |
| RichEdit_MaxTextLength | 4194304 (4 MB) | int |
| CommentDelimiter | // | string |
--------------------------------------------------------------
The purpose of each key is described below.
You can add specified keys to [Console] section of this ini-file.
For example, you can modify it in the following way:
[Console]
Visible=0
OEM=1
CmdHistory=1
ChildProcess_StartupTimeout_ms=240
ChildProcess_CycleTimeout_ms=120
Path_AutoDblQuotes=0
CmdHistory_MaxItems=256
Exec_MaxCount=100
RichEdit_MaxTextLength=4194304
CommentDelimiter=//
ChildProcess_StartupTimeout_ms
------------------------------
This parameter is important when a child console process is created.
The child process usually can't be created immediately, therefore
we must give some time to this process to be started.
Here is a general implementation of this part of code:
if ( CreateProcess( ... , &ProcInfo ) )
{
CloseHandle( ProcInfo.hThread );
WaitForSingleObject( ProcInfo.hProcess, STARTUP_TIMEOUT );
...
}
When the process is started, WaitForSingleObject returns.
But, if the value of STARTUP_TIMEOUT is too low, WaitForSingleObject
may return before the process is started.
If default value of ChildProcess_StartupTimeout_ms is not enough for
your PC, you can increase it. IMHO, it can not exceed 400 ms.
ChildProcess_CycleTimeout_ms
----------------------------
The only purpose of this parameter is to decrease the CPU usage.
The bigger value you set, the less CPU usage you get :-)
Here is an implementation of this part of code in outline:
do {
// reading from the process'es pipe
...
} while ( WaitForSingleObject( ProcInfo.hProcess,
CYCLE_TIMEOUT ) == WAIT_TIMEOUT );
Don't forget that actually the value of ChildProcess_CycleTimeout_ms
is a pause between requests to the child console process'es output,
so values > 500 ms are not recommened.
Path_AutoDblQuotes
------------------
If you enable this option (set it to 1), then path to executable
which contains spaces (for example, "my program 1.exe") will be
automatically enclosed in quotes "".
It is disabled by default because of a bug with executables w/o
extension. For example, this line
cmd /c calc.exe
will be modified (if this option is enabled) to this one:
"cmd /c calc.exe"
because "cmd" is given without extension ".exe".
Therefore don't forget to enclose paths with spaces in quotes
manually, when this option is disabled.
CmdHistory_MaxItems
-------------------
Specifies maximum number of items in the console commands history.
Exec_MaxCount
-------------
Specifies maximum number of NPP_EXEC calls within one script.
This value is needed to prevent the infinite loop of several scripts
which call each other, e.g.
::script1
npp_exec script2
::script2
npp_exec script1
RichEdit_MaxTextLength
----------------------
Specifies maximum number of characters which can be stored or
pasted into the Console dialog's rich edit control.
CommentDelimiter
----------------
Specifies a comment delimiter :-) I.e. all characters after
this delimiter are understood as a comment, and the text line
(command) is truncated at the position of this delimiter.
Exception:
- when the comment delimiter is // then :// is not truncated
at the position of // (because :// can be a part of http://).
Note:
- if you specify empty comment delimiter i.e.
CommentDelimiter=
then you can not use comments in your commands/scripts because
there is no comment delimiter in this case.

View File

@ -1,100 +0,0 @@
/* QuickText - Quick editing tags for Notepad++
Copyright (C) 2006 João Moreno (alph.pt@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
Name: QuickText
Version: 0.2
Link: http://sourceforge.net/projects/quicktext/
Author: João Moreno <alph.pt@gmail.com>
DESCRIPTION
Quicktext is a Notepad++ plugin for quick text substitution, including multi
field inputs. It's similar to Tab Triggers in TextMate.
INSTALLATION
Just copy the QuickText.dll into Notepad++'s plugin directory
(mine is C:\Program Files\Notepad++\plugins), and the QuickText.ini file into
Notepad++'s directory (C:\Program Files\Notepad++).
USAGE
Use the key shortcut CTRL+Enter to use QuickText tags.
CUSTOMIZATION
To make you're own tags:
- First make sure the tag's Language Section already exists. This is done by
creating a new section with the code corresponding to the Language.
(See LANGUAGE CODES).
- Then, for the key of the tag, use only lower/upper case and numbers.
- Special chars:
- $ hotspots
- \$ for writing actual '$'
- \n break line.
Or just use the Options GUI. (v0.2) :)
EXAMPLE
*** (8 is the Language Code for HTML)
[8]
link=<a href="$">$</a>
LANGUAGE CODES
00 TXT
01 PHP
02 C
03 CPP
04 CS
05 OBJC
06 JAVA
07 RC
08 HTML
09 XML
10 MAKEFILE
11 PASCAL
12 BATCH
13 INI
14 NFO
15 USER
16 ASP
17 SQL
18 VB
19 JS
20 CSS
21 PERL
22 PYTHON
23 LUA
24 TEX
25 FORTRAN
26 BASH
27 FLASH
28 NSIS
29 TCL
30 LISP
31 SCHEME
32 ASM
33 DIFF
34 PROPS
35 PS
36 RUBY
37 SMALLTALK
38 VHDL

View File

@ -1,5 +0,0 @@
<NotepadPlus>
<Session actifIndex="0">
<File firstVisibleLine="0" xOffset="0" startPos="370" endPos="423">C:\Users\Don\sources\notepad++\PowerEditor\bin\change.log</File>
</Session>
</NotepadPlus>

View File

@ -1,23 +0,0 @@
<NotepadPlus>
<InternalCommands />
<UserDefinedCommands>
<Command name="launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command>
<Command name="Get php help" Ctrl="no" Alt="yes" Shift="no" Key="112">http://www.php.net/%20$(CURRENT_WORD)</Command>
<Command name="Google Search" Ctrl="no" Alt="yes" Shift="no" Key="113">http://www.google.com/search?q=$(CURRENT_WORD)</Command>
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">http://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
<Command name="open file" Ctrl="no" Alt="yes" Shift="no" Key="116">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)</Command>
<Command name="open in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD) -multiInst</Command>
</UserDefinedCommands>
<Macros>
<Macro name="Trim Trailing and save" Ctrl="no" Alt="yes" Shift="yes" Key="83">
<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
<Action type="1" message="2170" wParam="0" lParam="0" sParam=" " />
<Action type="0" message="2327" wParam="0" lParam="0" sParam="" />
<Action type="0" message="2327" wParam="0" lParam="0" sParam="" />
<Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
<Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
</Macro>
</Macros>
</NotepadPlus>

View File

@ -1,709 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
<LexerStyles>
<LexerType name="c" desc="C" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="cpp" desc="C++" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="java" desc="Java" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="cs" desc="C#" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="rc" desc="RC" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="tcl" desc="TCL" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="objc" desc="Objective-C" ext="">
<WordsStyle name="DIRECTIVE" styleID="19" fgColor="A001D6" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="QUALIFIER" styleID="20" fgColor="95004A" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type2" />
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="sql" desc="SQL" ext="">
<WordsStyle name="KEYWORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING2" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="html" desc="HTML" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="9" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DOUBLESTRING" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SINGLESTRING" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="TAG" styleID="1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TAGUNKNOWN" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ATTRIBUTE" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ATTRIBUTEUNKNOWN" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SGMLDEFAULT" styleID="21" fgColor="000000" bgColor="A6CAF0" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CDATA" styleID="17" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="VALUE" styleID="19" fgColor="FF8000" bgColor="FEFDE0" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ENTITY" styleID="10" fgColor="000000" bgColor="FEFDE0" fontName="" fontStyle="2" fontSize="" />
</LexerType>
<LexerType name="php" desc="php" ext="">
<WordsStyle name="QUESTION MARK" styleID="18" fgColor="FF0000" bgColor="FDF8E3" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="118" fgColor="000000" bgColor="FEFCF5" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="119" fgColor="808080" bgColor="FEFCF5" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING VARIABLE" styleID="126" fgColor="808080" bgColor="FEFCF5" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SIMPLESTRING" styleID="120" fgColor="808080" bgColor="FEFCF5" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="WORD" styleID="121" fgColor="0000FF" bgColor="FEFCF5" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="NUMBER" styleID="122" fgColor="FF8000" bgColor="FEFCF5" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="VARIABLE" styleID="123" fgColor="000080" bgColor="FEFCF5" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="124" fgColor="008000" bgColor="FEFCF5" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENTLINE" styleID="125" fgColor="008000" bgColor="FEFCF5" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="OPERATOR" styleID="127" fgColor="8000FF" bgColor="FEFCF5" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="javascript" desc="Javascript" ext="">
<WordsStyle name="DEFAULT" styleID="41" fgColor="000000" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="45" fgColor="FF0000" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="WORD" styleID="46" fgColor="000000" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="KEYWORD" styleID="47" fgColor="000080" bgColor="F2F4FF" fontName="" fontStyle="3" fontSize="" keywordClass="instre1" />
<WordsStyle name="DOUBLESTRING" styleID="48" fgColor="808080" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SINGLESTRING" styleID="49" fgColor="808080" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SYMBOLS" styleID="50" fgColor="000000" bgColor="F2F4FF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="STRINGEOL" styleID="51" fgColor="808080" bgColor="F2F4FF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="REGEX" styleID="52" fgColor="8000FF" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="42" fgColor="008000" bgColor="F2F4FF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENTLINE" styleID="43" fgColor="008000" bgColor="F2F4FF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENTDOC" styleID="44" fgColor="008080" bgColor="F2F4FF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="asp" desc="asp" ext="asp">
<WordsStyle name="DEFAULT" styleID="81" fgColor="8000FF" bgColor="C4F9FD" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTLINE" styleID="82" fgColor="008000" bgColor="C4F9FD" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="83" fgColor="FF0000" bgColor="C4F9FD" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="WORD" styleID="84" fgColor="000080" bgColor="C4F9FD" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="STRING" styleID="85" fgColor="808080" bgColor="C4F9FD" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRINGEOL" styleID="87" fgColor="808080" bgColor="C4F9FD" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="86" fgColor="000000" bgColor="C4F9FD" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ASPSYBOL" styleID="15" fgColor="000000" bgColor="FFFF00" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SCRIPTTYPE" styleID="16" fgColor="000000" bgColor="FFC000" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="xml" desc="XML" ext="">
<WordsStyle name="XMLSTART" styleID="12" fgColor="FF0000" bgColor="FFFF00" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="XMLEND" styleID="13" fgColor="FF0000" bgColor="FFFF00" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="9" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DOUBLESTRING" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SINGLESTRING" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="TAG" styleID="1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TAGEND" styleID="11" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TAGUNKNOWN" styleID="2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ATTRIBUTE" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ATTRIBUTEUNKNOWN" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SGMLDEFAULT" styleID="21" fgColor="000000" bgColor="A6CAF0" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CDATA" styleID="17" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="ini" desc="ini file" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="SECTION" styleID="2" fgColor="8000FF" bgColor="F2F4FF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="ASSIGNMENT" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="DEFVAL" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="props" desc="Properties file" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="ASSIGNMENT" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="DEFVAL" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="diff" desc="DIFF" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMAND" styleID="2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="HEADER" styleID="3" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="POSITION" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DELETED" styleID="5" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ADDED" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="nfo" desc="Dos Style" ext="">
<WordsStyle name="DEFAULT" styleID="32" fgColor="C0C0C0" bgColor="000000" />
</LexerType>
<LexerType name="makefile" desc="Makefile" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="PREPROCESSOR" styleID="2" fgColor="FFFF00" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="TARGET" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDEOL" styleID="9" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
</LexerType>
<LexerType name="vb" desc="VB / VBS" ext="">
<WordsStyle name="DEFAULT" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="WORD" styleID="3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="instre1" />
<WordsStyle name="STRING" styleID="4" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="PREPROCESSOR" styleID="5" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="DATE" styleID="8" fgColor="00FF00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="css" desc="CSS" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TAG" styleID="1" fgColor="0000FF" bgColor="FFFFFF" fontName="Batang" fontStyle="0" fontSize="" />
<WordsStyle name="CLASS" styleID="2" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="PSEUDOCLASS" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="UNKNOWN_PSEUDOCLASS" styleID="4" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="6" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="UNKNOWN_IDENTIFIER" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="VALUE" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="9" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="ID" styleID="10" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IMPORTANT" styleID="11" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="DIRECTIVE" styleID="12" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="pascal" desc="Pascal" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="perl" desc="Perl" ext="">
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DEFAULT" styleID="0" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="REGEX" styleID="17" fgColor="8080FF" bgColor="F8FEDE" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="SCALAR" styleID="12" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ARRAY" styleID="13" fgColor="CF34CF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="HASH" styleID="14" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SYMBOL TABLE" styleID="15" fgColor="FF0000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="" />
<WordsStyle name="PUNCTUATION" styleID="8" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="POD" styleID="3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ERROR" styleID="1" fgColor="FF80C0" bgColor="FFFFFF" fontName="" fontStyle="3" fontSize="" />
<WordsStyle name="LONGQUOTE" styleID="19" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DATASECTION" styleID="21" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGSUBST" styleID="18" fgColor="8080C0" bgColor="FFEEEC" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="BACKTICKS" styleID="20" fgColor="FFFF00" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
</LexerType>
<LexerType name="python" desc="Python" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTLINE" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="3" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="4" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="KEYWORDS" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TRIPLE" styleID="6" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TRIPLEDOUBLE" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CLASSNAME" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="DEFNAME" styleID="9" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTBLOCK" styleID="12" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="STRINGEOL" styleID="12" fgColor="FFFF00" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="batch" desc="Batch" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="KEYWORDS" styleID="2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="LABEL" styleID="3" fgColor="FF0000" bgColor="FFFF80" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="HIDE SYBOL" styleID="4" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMAND" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="VARIABLE" styleID="6" fgColor="FF8000" bgColor="FCFFF0" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="OPERATOR" styleID="7" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
</LexerType>
<LexerType name="lua" desc="Lua" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="LITERALSTRING" styleID="8" fgColor="95004A" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="FUNC1" styleID="13" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
<WordsStyle name="FUNC2" styleID="14" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="FUNC3" styleID="15" fgColor="0000A0" bgColor="FFFFFF" fontName="" fontStyle="3" fontSize="" keywordClass="type2" />
</LexerType>
<LexerType name="tex" desc="TeX" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SPECIAL" styleID="1" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="GROUP" styleID="2" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SYMBOL" styleID="3" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMAND" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="TEXT" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="4" fontSize="" />
</LexerType>
<LexerType name="nsis" desc="NSIS" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTLINE" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="STRING DOUBLE QUOTE" styleID="2" fgColor="808080" bgColor="EEEEEE" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING LEFT QUOTE" styleID="3" fgColor="FFFF80" bgColor="C0C0C0" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING RIGHT QUOTE" styleID="4" fgColor="FFFFFF" bgColor="C0C0C0" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="FUNCTION" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="instre1" />
<WordsStyle name="VARIABLE" styleID="6" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="instre2" />
<WordsStyle name="LABEL" styleID="7" fgColor="FF0000" bgColor="FFFF80" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="USER DEFINED" styleID="8" fgColor="FDFFEC" bgColor="FF80FF" fontName="" fontStyle="4" fontSize="" keywordClass="type2" />
<WordsStyle name="SECTION" styleID="9" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SUBSECTION" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IF DEFINE" styleID="11" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="MACRO" styleID="12" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="STRING VAR" styleID="13" fgColor="FF8000" bgColor="EFEFEF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="14" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SECTION GROUP" styleID="15" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="PAGE EX" styleID="16" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="FUNCTION DEFINITIONS" styleID="17" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="18" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="actionscript" desc="ActionScript" ext="">
<!--
<WordsStyle name="DIRECTIVE" styleID="19" fgColor="A001D6" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
-->
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="FUNCTION" styleID="20" fgColor="95004A" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type2" />
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="TYPE WORD" styleID="16" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VERBATIM" styleID="13" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="REGEX" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD" styleID="17" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="1" fontSize="8" />
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="bash" desc="bash" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ERROR" styleID="1" fgColor="FFFFFF" bgColor="FF0000" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="NUMBER" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="5" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="7" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SCALAR" styleID="9" fgColor="FF8040" bgColor="FFFFD9" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="PARAM" styleID="10" fgColor="008080" bgColor="00FFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="" />
<WordsStyle name="BACKTICKS" styleID="11" fgColor="804040" bgColor="E1FFF3" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="HERE DELIM" styleID="12" fgColor="0000FF" bgColor="FF0000" fontName="Comic Sans MS" fontStyle="1" fontSize="" />
<WordsStyle name="HERE Q" styleID="13" fgColor="FF0000" bgColor="0000FF" fontName="Comic Sans MS" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="fortran" desc="Fortran" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="3" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING2" styleID="4" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="STRINGEOL" styleID="5" fgColor="808040" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
<WordsStyle name="OPERATOR" styleID="6" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="8" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="FUNCTION1" styleID="9" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
<WordsStyle name="FUNCTION2" styleID="10" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="PREPROCESSOR" styleID="11" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR2" styleID="12" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="LABEL" styleID="13" fgColor="FFFFFF" bgColor="FF80FF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="CONTINUATION" styleID="14" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="lisp" desc="LISP" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTLINE" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="FUNCTION WORD" styleID="3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="SYMBOL" styleID="5" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRINGEOL" styleID="8" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="9" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="SPECIAL" styleID="11" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="12" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="asm" desc="Assembler" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="3" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="4" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CPU INSTRUCTION" styleID="6" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="MATH INSTRUCTION" styleID="7" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
<WordsStyle name="REGISTER" styleID="8" fgColor="8080FF" bgColor="FFFFCC" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="DIRECTIVE" styleID="9" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type2" />
<WordsStyle name="DIRECTIVE OPERAND" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type3" />
<WordsStyle name="COMMENT BLOCK" styleID="11" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="CHARACTER" styleID="12" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRINGEOL" styleID="13" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="EXT INSTRUCTION" styleID="14" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type4" />
</LexerType>
<LexerType name="ruby" desc="Ruby" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ERROR" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTLINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="POD" styleID="3" fgColor="004000" bgColor="C0FFC0" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="7" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CLASS NAME" styleID="8" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="DEF NAME" styleID="9" fgColor="8080FF" bgColor="FFFFCC" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="REGEX" styleID="12" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="GLOBAL" styleID="13" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SYMBOL" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="MODULE NAME" styleID="15" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="INSTANCE VAR" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CLASS VAR" styleID="17" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="BACKTICKS" styleID="18" fgColor="FFFF00" bgColor="A08080" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DATA SECTION" styleID="19" fgColor="600000" bgColor="FFF0D8" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING Q" styleID="24" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="postscript" desc="Postscript" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="DSC COMMENT" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="DSC VALUE" styleID="3" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="Name" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION" styleID="6" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="LITERAL" styleID="7" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IMMEVAL" styleID="8" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="PAREN ARRAY" styleID="9" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="PAREN DICT" styleID="10" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="PAREN PROC" styleID="11" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="TEXT" styleID="12" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="HEX STRING" styleID="13" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="BASE85 STRING" styleID="14" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="BAD STRING CHAR" styleID="15" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
</LexerType>
<LexerType name="vhdl" desc="VHDL" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LIne" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="4" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="5" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING EOL" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION" styleID="8" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="STD OPERATOR" styleID="9" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
<WordsStyle name="ATTRIBUTE" styleID="10" fgColor="8080FF" bgColor="FFFFCC" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="DIRECTIVE" styleID="9" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DIRECTIVE OPERAND" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="STD FUNCTION" styleID="11" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type2" />
<WordsStyle name="STD PACKAGE" styleID="12" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type3" />
<WordsStyle name="STD TYPE" styleID="13" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type4" />
<WordsStyle name="USER DEFINE" styleID="14" fgColor="B5E71F" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type5" />
</LexerType>
<LexerType name="smalltalk" desc="Smalltalk" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="1" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="3" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="SYMBOL" styleID="4" fgColor="408080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="BINARY" styleID="5" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="BOOL" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SELF" styleID="7" fgColor="8080FF" bgColor="FFFFCC" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SUPER" styleID="8" fgColor="0080FF" bgColor="ECFFEA" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="NIL" styleID="9" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="GLOBAL" styleID="10" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="RETURN" styleID="11" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="SPECIAL" styleID="12" fgColor="808000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="KWS END" styleID="13" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="ASSIGN" styleID="14" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="8" />
<WordsStyle name="CHARACTER" styleID="15" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SPECIAL SELECTOR" styleID="16" fgColor="FF80C0" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="caml" desc="Caml" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TAGNAME" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="BUILIN FUNC &amp; TYPE" styleID="4" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="instre2" />
<WordsStyle name="TYPE" styleID="5" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="LINENUM" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="OPERATOR" styleID="7" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="NUMBER" styleID="8" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="9" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="11" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="12" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="13" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT DOC" styleID="14" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE DOC" styleID="15" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
</LexerType>
<LexerType name="verilog" desc="Verilog" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="TAGNAME" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="KEYWORD" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT LINE BANG" styleID="3" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="STRING EOL" styleID="12" fgColor="808080" bgColor="F2F4FF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="USER" styleID="19" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="kix" desc="KiXtart" ext="">
<!--
<WordsStyle name="" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
-->
<WordsStyle name="DEFAULT" styleID="31" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="STRING" styleID="2" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING2" styleID="3" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="VAR" styleID="5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="MACRO" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="instre2" />
<WordsStyle name="INSTRUCTION WORD" styleID="7" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="FUNCTION" styleID="8" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="OPERATOR" styleID="9" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
</LexerType>
<LexerType name="autoit" desc="autoIt" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT LINE" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMENT" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="NUMBER" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="FUNCTION" styleID="4" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="instre2" />
<WordsStyle name="INSTRUCTION WORD" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="MACRO" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1" />
<WordsStyle name="STRING" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="8" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="VARIABLE" styleID="9" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
<WordsStyle name="SENT" styleID="10" fgColor="8080C0" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type2" />
<WordsStyle name="PREPROCESSOR" styleID="11" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type3" />
<WordsStyle name="SPECIAL" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type4" />
<WordsStyle name="EXPAND" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type5" />
<WordsStyle name="COMOBJ" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="ada" desc="ADA" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="IDENTIFIER" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DELIMITER" styleID="4" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="CHARACTER" styleID="5" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER EOL" styleID="6" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="7" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING EOL" styleID="8" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="LABEL" styleID="9" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT LINE" styleID="10" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="ILLEGAL" styleID="11" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="matlab" desc="Matlab" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="COMMAND" styleID="2" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="NUMBER" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTRUCTION WORD" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="STRING" styleID="5" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="6" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DOUBLE QUOTE STRING" styleID="8" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="haskell" desc="Haskell" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="KEYWORD" styleID="2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="NUMBER" styleID="3" fgColor="800080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING" styleID="4" fgColor="CA6500" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CHARACTER" styleID="5" fgColor="CA6500" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CLASS" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="MODULE" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="CAPITAL" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="DATA" styleID="9" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IMPORT" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="OPERATOR" styleID="11" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="INSTANCE" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTLINE" styleID="13" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTBLOCK" styleID="14" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTBLOCK2" styleID="15" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENTBLOCK3" styleID="16" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="inno" desc="InnoSetup" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="KEYWORD" styleID="2" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2" />
<WordsStyle name="PARAMETER" styleID="3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="SECTION" styleID="4" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="PREPROCESSOR" styleID="5" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type2" />
<WordsStyle name="PREPROCESSOR INLINE" styleID="6" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="COMMENT PASCAL" styleID="7" fgColor="008080" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="KEYWORD PASCAL" styleID="8" fgColor="0080C0" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type3" />
<WordsStyle name="KEYWORD USER" styleID="9" fgColor="8080FF" bgColor="FFFFCC" fontName="" fontStyle="1" fontSize="" keywordClass="type4" />
<WordsStyle name="STRING DOUBLE" styleID="10" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING SINGLE" styleID="11" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="IDENTIFIER" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
</LexerType>
<LexerType name="cmake" desc="CMakeFile" ext="cmake">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Comic Sans MS" fontStyle="0" fontSize="8" />
<WordsStyle name="STRING D" styleID="2" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="STRING L" styleID="3" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="2" fontSize="" />
<WordsStyle name="STRING R" styleID="4" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="4" fontSize="" />
<WordsStyle name="COMMAND" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
<WordsStyle name="PARAMETER" styleID="6" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="VARIABLE" styleID="7" fgColor="FF8040" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="USER DEFINED" styleID="8" fgColor="000080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="type1" />
<WordsStyle name="WHILEDEF" styleID="9" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="FOREACHDEF" styleID="10" fgColor="008080" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="IFDEF" styleID="11" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="MACRODEF" styleID="12" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="STRING VARIABLE" styleID="13" fgColor="808080" bgColor="FEFCF5" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="NUMBER" styleID="14" fgColor="804040" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
</LexerType>
<LexerType name="searchResult" desc="Search result" ext="">
<WordsStyle name="DEFAULT" styleID="0" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="SELECTED LINE" styleID="6" fgColor="FFFF80" bgColor="0000FF" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="HEARDER" styleID="1" fgColor="008000" bgColor="D5FFD5" fontName="" fontStyle="1" fontSize="" />
<WordsStyle name="NUMBER" styleID="2" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WordsStyle name="HIT WORD" styleID="3" fgColor="FF0000" bgColor="FFFF80" fontName="" fontStyle="4" fontSize="" />
<WordsStyle name="KEYWORD1" styleID="4" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" keywordClass="instre2">if else for while</WordsStyle>
<WordsStyle name="KEYWORD2" styleID="5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" keywordClass="type1">bool long int char</WordsStyle>
</LexerType>
</LexerStyles>
<GlobalStyles>
<!-- Attention : Don't modify the name of styleID="0" -->
<WidgetStyle name="Default Style" styleID="32" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
<WidgetStyle name="Indent guideline style" styleID="37" fgColor="C0C0C0" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WidgetStyle name="Brace highlight style" styleID="34" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="12" />
<WidgetStyle name="Bad brace colour" styleID="35" fgColor="800000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
<WidgetStyle name="Current line background colour" styleID="0" bgColor="E8E8FF" />
<WidgetStyle name="Mark colour" styleID="0" fgColor="C00000" bgColor="FFFF00" />
<WidgetStyle name="Selected text colour" styleID="0" bgColor="C0C0C0" />
<WidgetStyle name="Caret colour" styleID="2069" fgColor="8000FF" />
<WidgetStyle name="Find Mark Style" styleID="31" fgColor="FFFF00" bgColor="FF0000" fontName="" fontStyle="1" fontSize="" />
<WidgetStyle name="Edge colour" styleID="0" fgColor="80FFFF" />
<WidgetStyle name="Line number margin" styleID="33" fgColor="808080" bgColor="E4E4E4" fontName="" fontStyle="0" fontSize="" />
<WidgetStyle name="Fold" styleID="0" fgColor="808080" bgColor="F3F3F3" />
<WidgetStyle name="Fold margin" styleID="0" fgColor="FFFFFF" bgColor="E9E9E9" />
<WidgetStyle name="White space symbol" styleID="0" fgColor="FFB56A" />
</GlobalStyles>
</NotepadPlus>

View File

@ -1,36 +0,0 @@
<NotepadPlus>
<UserLang name="gh" ext="toto">
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">000000</Keywords>
<Keywords name="Folder+"></Keywords>
<Keywords name="Folder-"></Keywords>
<Keywords name="Operators"></Keywords>
<Keywords name="Comment"></Keywords>
<Keywords name="Words1">toto tot</Keywords>
<Keywords name="Words2"></Keywords>
<Keywords name="Words3"></Keywords>
<Keywords name="Words4"></Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="00FF00" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>

View File

@ -1,164 +0,0 @@
//this file is part of notepad++
//Copyright (C)2003 Don HO ( donho@altern.org )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <shlwapi.h>
#include "PluginsManager.h"
#define USERMSG "This plugin is not compatible with current version of Notepad++.\n\
Remove this plugin from plugins directory if you don't want to see this message on the next launch time."
bool PluginsManager::loadPlugins()
{
vector<string> dllNames;
const char *pNppPath = (NppParameters::getInstance())->getNppPath();
string pluginsFullPathFilter = pNppPath;
pluginsFullPathFilter += "\\plugins\\*.dll";
WIN32_FIND_DATA foundData;
HANDLE hFindFile = ::FindFirstFile(pluginsFullPathFilter.c_str(), &foundData);
if (hFindFile != INVALID_HANDLE_VALUE)
{
string plugins1stFullPath = pNppPath;
plugins1stFullPath += "\\plugins\\";
plugins1stFullPath += foundData.cFileName;
dllNames.push_back(plugins1stFullPath);
while (::FindNextFile(hFindFile, &foundData))
{
string fullPath = pNppPath;
fullPath += "\\plugins\\";
fullPath += foundData.cFileName;
dllNames.push_back(fullPath);
}
::FindClose(hFindFile);
size_t i = 0;
for ( ; i < dllNames.size() ; i++)
{
PluginInfo *pi = new PluginInfo;
try {
char tmpStr[MAX_PATH];
strcpy(tmpStr, dllNames[i].c_str());
strcpy(pi->_moduleName, PathFindFileName(tmpStr));
pi->_hLib = ::LoadLibrary(dllNames[i].c_str());
if (!pi->_hLib)
throw string("Load Library is failed");
pi->_pFuncSetInfo = (PFUNCSETINFO)GetProcAddress(pi->_hLib, "setInfo");
if (!pi->_pFuncSetInfo)
throw string("Missing \"setInfo\" function");
pi->_pFuncGetName = (PFUNCGETNAME)GetProcAddress(pi->_hLib, "getName");
if (!pi->_pFuncGetName)
throw string("Missing \"getName\" function");
pi->_pBeNotified = (PBENOTIFIED)GetProcAddress(pi->_hLib, "beNotified");
if (!pi->_pBeNotified)
throw string("Missing \"beNotified\" function");
pi->_pMessageProc = (PMESSAGEPROC)GetProcAddress(pi->_hLib, "messageProc");
if (!pi->_pMessageProc)
throw string("Missing \"messageProc\" function");
pi->_pFuncGetFuncsArray = (PFUNCGETFUNCSARRAY)GetProcAddress(pi->_hLib, "getFuncsArray");
if (!pi->_pFuncGetFuncsArray)
throw string("Missing \"getFuncsArray\" function");
pi->_funcItems = pi->_pFuncGetFuncsArray(&pi->_nbFuncItem);
if ((!pi->_funcItems) || (pi->_nbFuncItem <= 0))
throw string("Missing \"FuncItems\" array, or the nb of Function Item is not set correctly");
getCustomizedShortcuts(pi->_moduleName, pi->_funcItems, pi->_nbFuncItem);
for (int i = 0 ; i < pi->_nbFuncItem ; i++)
if (!pi->_funcItems[i]._pFunc)
throw string("\"FuncItems\" array is not set correctly");
pi->_pluginMenu = ::CreateMenu();
pi->_pFuncSetInfo(_nppData);
_pluginInfos.push_back(pi);
}
catch(string s)
{
s += "\n\n";
s += USERMSG;
::MessageBox(NULL, s.c_str(), dllNames[i].c_str(), MB_OK);
delete pi;
}
catch(...)
{
string msg = "Fail loaded";
msg += "\n\n";
msg += USERMSG;
::MessageBox(NULL, msg.c_str(), dllNames[i].c_str(), MB_OK);
delete pi;
}
}
}
//pi._pFuncSetInfo(_nppData);
//const char * pluginName = _pFuncGetName();
return true;
}
#include "SysMsg.h"
void PluginsManager::setMenu(HMENU hMenu, const char *menuName)
{
if (hasPlugins())
{
vector<PluginCmdShortcut> & pluginCmdSCList = (NppParameters::getInstance())->getPluginCommandList();
const char *nom_menu = (menuName && menuName[0])?menuName:"Plugins";
_hPluginsMenu = ::CreateMenu();
::InsertMenu(hMenu, 9, MF_BYPOSITION | MF_POPUP, (UINT_PTR)_hPluginsMenu, nom_menu);
for (size_t i = 0 ; i < _pluginInfos.size() ; i++)
{
::InsertMenu(_hPluginsMenu, i, MF_BYPOSITION | MF_POPUP, (UINT_PTR)_pluginInfos[i]->_pluginMenu, _pluginInfos[i]->_pFuncGetName());
for (int j = 0 ; j < _pluginInfos[i]->_nbFuncItem ; j++)
{
_pluginsCommands.push_back(PluginCommand(_pluginInfos[i]->_moduleName, j, _pluginInfos[i]->_funcItems[j]._pFunc));
int cmdID = ID_PLUGINS_CMD + (_pluginsCommands.size() - 1);
//printInt(cmdID);
_pluginInfos[i]->_funcItems[j]._cmdID = cmdID;
string itemName = _pluginInfos[i]->_funcItems[j]._itemName;
if (_pluginInfos[i]->_funcItems[j]._pShKey)
{
ShortcutKey & sKey = *(_pluginInfos[i]->_funcItems[j]._pShKey);
//CommandShortcut cmdShortcut(itemName.c_str(), cmdID, sKey._isCtrl, sKey._isAlt, sKey._isShift, sKey._key);
//printInt(cmdID);
PluginCmdShortcut pcs(Shortcut(itemName.c_str(), sKey._isCtrl, sKey._isAlt, sKey._isShift, sKey._key), cmdID, _pluginInfos[i]->_moduleName, j);
pluginCmdSCList.push_back(pcs);
itemName += "\t";
itemName += pcs.toString();
}
::InsertMenu(_pluginInfos[i]->_pluginMenu, j, MF_BYPOSITION, cmdID, itemName.c_str());
if (_pluginInfos[i]->_funcItems[j]._init2Check)
::CheckMenuItem(_hPluginsMenu, cmdID, MF_BYCOMMAND | MF_CHECKED);
}
}
}
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,213 +0,0 @@
// this file is part of docking functionality for Notepad++
// Copyright (C)2005 Jens Lorenz <jens.plugin.npp@gmx.de>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef DOCKINGCONT
#define DOCKINGCONT
#include "StaticDialog.h"
#include "Resource.h"
#include "Docking.h"
#include <windows.h>
#include <string>
#include <vector>
#include <commctrl.h>
using namespace std;
/* window styles */
#define POPUP_STYLES WS_POPUP|WS_CLIPSIBLINGS|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MAXIMIZEBOX
#define POPUP_EXSTYLES WS_EX_CONTROLPARENT|WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW
#define CHILD_STYLES WS_CHILD|WS_VISIBLE
#define CHILD_EXSTYLES 0x00000000L
enum eMousePos {
posOutside,
posCaption,
posClose
};
class DockingCont : public StaticDialog
{
public:
DockingCont();
~DockingCont();
void init(HINSTANCE hInst, HWND hWnd) {
Window::init(hInst, hWnd);
};
HWND getTabWnd(void) {
HWND hRet = NULL;
if (isCreated())
hRet = _hContTab;
return hRet;
};
HWND getCaptionWnd(void) {
HWND hRet = NULL;
if (isCreated())
{
if (_isFloating == false)
hRet = _hCaption;
else
hRet = _hSelf;
}
return hRet;
};
tTbData* createToolbar(tTbData data, Window **ppWin);
tTbData destroyToolbar(tTbData data);
tTbData* findToolbarByWnd(HWND hClient);
tTbData* findToolbarByName(char* pszName);
void showToolbar(tTbData* pTbData, BOOL state);
BOOL updateInfo(HWND hClient) {
for (size_t iTb = 0; iTb < _vTbData.size(); iTb++)
{
if (_vTbData[iTb]->hClient == hClient)
{
updateCaption();
return TRUE;
}
}
return FALSE;
};
void setActiveTb(tTbData* pTbData);
void setActiveTb(int iItem);
int getActiveTb(void);
tTbData* getDataOfActiveTb(void);
vector<tTbData*> getDataOfAllTb(void) {
return _vTbData;
};
vector<tTbData*> getDataOfVisTb(void);
bool isTbVis(tTbData* data);
void doDialog(bool willBeShown = true, bool isFloating = false);
bool isFloating(void) {
return _isFloating;
}
int getElementCnt(void) {
return _vTbData.size();
}
/* interface function for gripper */
BOOL startMovingFromTab(void) {
BOOL dragFromTabTemp = _dragFromTab;
_dragFromTab = FALSE;
return dragFromTabTemp;
};
void setCaptionTop(BOOL isTopCaption) {
_isTopCaption = (isTopCaption == CAPTION_TOP);
onSize();
};
void focusClient(void);
virtual void destroy() {
for (int iTb = _vTbData.size(); iTb > 0; iTb--)
{
delete _vTbData[iTb-1];
}
::DestroyWindow(_hSelf);
};
protected :
/* Subclassing caption */
LRESULT runProcCaption(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
static LRESULT CALLBACK wndCaptionProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) {
return (((DockingCont *)(::GetWindowLong(hwnd, GWL_USERDATA)))->runProcCaption(hwnd, Message, wParam, lParam));
};
/* Subclassing tab */
LRESULT runProcTab(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
static LRESULT CALLBACK wndTabProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) {
return (((DockingCont *)(::GetWindowLong(hwnd, GWL_USERDATA)))->runProcTab(hwnd, Message, wParam, lParam));
};
virtual BOOL CALLBACK run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam);
/* drawing functions */
void drawCaptionItem(DRAWITEMSTRUCT *pDrawItemStruct);
void drawTabItem(DRAWITEMSTRUCT *pDrawItemStruct);
void onSize(void);
/* functions for caption handling and drawing */
eMousePos isInRect(HWND hwnd, int x, int y);
/* handling of toolbars */
void doClose(void);
/* return new item */
int SearchPosInTab(tTbData* pTbData);
void SelectTab(int item);
int hideToolbar(tTbData* pTbData);
void viewToolbar(tTbData *pTbData);
void updateCaption(void);
LPARAM NotifyParent(UINT message);
private:
/* handles */
bool _isFloating;
HWND _hCaption;
HWND _hContTab;
/* horizontal font for caption and tab */
HFONT _hFont;
/* caption params */
BOOL _isTopCaption;
char _pszCaption[256];
BOOL _isMouseDown;
BOOL _isMouseClose;
BOOL _isMouseOver;
RECT _rcCaption;
/* Important value for DlgMoving class */
BOOL _dragFromTab;
/* subclassing handle for caption */
WNDPROC _hDefaultCaptionProc;
/* subclassing handle for tab */
WNDPROC _hDefaultTabProc;
/* for moving and reordering */
UINT _prevItem;
BOOL _beginDrag;
HIMAGELIST _hImageList;
/* data of added windows */
vector<tTbData*> _vTbData;
};
#endif // DOCKINGCONT

View File

@ -1,811 +0,0 @@
//this file is part of docking functionality for Notepad++
//Copyright (C)2006 Jens Lorenz <jens.plugin.npp@gmx.de>
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "DockingCont.h"
#include "DockingManager.h"
#include "Gripper.h"
#include "windows.h"
BOOL DockingManager::_isRegistered = FALSE;
DockingManager::DockingManager()
{
_isInitialized = FALSE;
_hImageList = NULL;
memset(_iContMap, -1, CONT_MAP_MAX);
_iContMap[0] = CONT_LEFT;
_iContMap[1] = CONT_RIGHT;
_iContMap[2] = CONT_TOP;
_iContMap[3] = CONT_BOTTOM;
/* create four containers with splitters */
for (int i = 0; i < DOCKCONT_MAX; i++)
{
DockingCont* _pDockCont = new DockingCont;
_vContainer.push_back(_pDockCont);
DockingSplitter* _pSplitter = new DockingSplitter;
_vSplitter.push_back(_pSplitter);
}
}
void DockingManager::init(HINSTANCE hInst, HWND hWnd, Window ** ppWin)
{
Window::init(hInst, hWnd);
if (!_isRegistered)
{
WNDCLASS clz;
clz.style = 0;
clz.lpfnWndProc = staticWinProc;
clz.cbClsExtra = 0;
clz.cbWndExtra = 0;
clz.hInstance = _hInst;
clz.hIcon = NULL;
clz.hCursor = NULL;
clz.hbrBackground = NULL;
clz.lpszMenuName = NULL;
clz.lpszClassName = DSPC_CLASS_NAME;
if (!::RegisterClass(&clz))
{
systemMessage("System Err");
throw int(98);
}
_isRegistered = TRUE;
}
_hSelf = ::CreateWindowEx(
0,
DSPC_CLASS_NAME,
"",
WS_CHILD | WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
_hParent,
NULL,
_hInst,
(LPVOID)this);
if (!_hSelf)
{
systemMessage("System Err");
throw int(777);
}
setClientWnd(ppWin);
/* create docking container */
for (int iCont = 0; iCont < DOCKCONT_MAX; iCont++)
{
_vContainer[iCont]->init(_hInst, _hSelf);
_vContainer[iCont]->doDialog(false);
::SetParent(_vContainer[iCont]->getHSelf(), _hParent);
if ((iCont == CONT_TOP) || (iCont == CONT_BOTTOM))
_vSplitter[iCont]->init(_hInst, _hParent, _hSelf, DMS_HORIZONTAL);
else
_vSplitter[iCont]->init(_hInst, _hParent, _hSelf, DMS_VERTICAL);
}
_dockData.hWnd = _hSelf;
_isInitialized = TRUE;
}
LRESULT CALLBACK DockingManager::staticWinProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
DockingManager *pDockingManager = NULL;
switch (message)
{
case WM_NCCREATE :
pDockingManager = (DockingManager *)(((LPCREATESTRUCT)lParam)->lpCreateParams);
pDockingManager->_hSelf = hwnd;
::SetWindowLong(hwnd, GWL_USERDATA, reinterpret_cast<LONG>(pDockingManager));
return TRUE;
default :
pDockingManager = (DockingManager *)::GetWindowLong(hwnd, GWL_USERDATA);
if (!pDockingManager)
return ::DefWindowProc(hwnd, message, wParam, lParam);
return pDockingManager->runProc(hwnd, message, wParam, lParam);
}
}
LRESULT DockingManager::runProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_NCACTIVATE:
{
/* activate/deactivate titlebar of toolbars */
for (size_t iCont = DOCKCONT_MAX; iCont < _vContainer.size(); iCont++)
{
::SendMessage(_vContainer[iCont]->getHSelf(), WM_NCACTIVATE, wParam, (LPARAM)-1);
}
if ((int)lParam != -1)
{
::SendMessage(_hParent, WM_NCACTIVATE, wParam, (LPARAM)-1);
}
break;
}
case WM_MOVE:
case WM_SIZE:
{
onSize();
break;
}
case WM_DESTROY:
{
/* destroy imagelist if it exists */
if (_hImageList != NULL)
{
::ImageList_Destroy(_hImageList);
}
/* destroy containers */
for (int i = _vContainer.size(); i > 0; i--)
{
_vContainer[i-1]->destroy();
delete _vContainer[i-1];
}
break;
}
case DMM_MOVE:
{
Gripper* pGripper = new Gripper;
pGripper->init(_hInst, _hParent);
pGripper->startGrip((DockingCont*)lParam, this, pGripper);
break;
}
case DMM_MOVE_SPLITTER:
{
INT offset = (INT)wParam;
for (int iCont = 0; iCont < DOCKCONT_MAX; iCont++)
{
if (_vSplitter[iCont]->getHSelf() == (HWND)lParam)
{
switch (iCont)
{
case CONT_TOP:
_dockData.rcRegion[iCont].bottom -= offset;
if (_dockData.rcRegion[iCont].bottom < 0)
{
_dockData.rcRegion[iCont].bottom = 0;
}
if ((_rcWork.bottom < (-SPLITTER_WIDTH)) && (offset < 0))
{
_dockData.rcRegion[iCont].bottom += offset;
}
break;
case CONT_BOTTOM:
_dockData.rcRegion[iCont].bottom += offset;
if (_dockData.rcRegion[iCont].bottom < 0)
{
_dockData.rcRegion[iCont].bottom = 0;
}
if ((_rcWork.bottom < (-SPLITTER_WIDTH)) && (offset > 0))
{
_dockData.rcRegion[iCont].bottom -= offset;
}
break;
case CONT_LEFT:
_dockData.rcRegion[iCont].right -= offset;
if (_dockData.rcRegion[iCont].right < 0)
{
_dockData.rcRegion[iCont].right = 0;
}
if ((_rcWork.right < SPLITTER_WIDTH) && (offset < 0))
{
_dockData.rcRegion[iCont].right += offset;
}
break;
case CONT_RIGHT:
_dockData.rcRegion[iCont].right += offset;
if (_dockData.rcRegion[iCont].right < 0)
{
_dockData.rcRegion[iCont].right = 0;
}
if ((_rcWork.right < SPLITTER_WIDTH) && (offset > 0))
{
_dockData.rcRegion[iCont].right -= offset;
}
break;
}
onSize();
break;
}
}
break;
}
case DMM_DOCK:
case DMM_FLOAT:
{
toggleActiveTb((DockingCont*)lParam, message);
return FALSE;
}
case DMM_CLOSE:
{
tTbData TbData = *((DockingCont*)lParam)->getDataOfActiveTb();
return SendNotify(TbData.hClient, DMN_CLOSE);
}
case DMM_FLOATALL:
{
toggleVisTb((DockingCont*)lParam, DMM_FLOAT);
return FALSE;
}
case DMM_DOCKALL:
{
toggleVisTb((DockingCont*)lParam, DMM_DOCK);
return FALSE;
}
case DMM_GETIMAGELIST:
{
return (LPARAM)_hImageList;
}
case DMM_GETICONPOS:
{
for (UINT uImageCnt = 0; uImageCnt < _vImageList.size(); uImageCnt++)
{
if ((HWND)lParam == _vImageList[uImageCnt])
{
return uImageCnt;
}
}
return -1;
}
default :
break;
}
return ::DefWindowProc(_hSelf, message, wParam, lParam);
}
void DockingManager::onSize()
{
reSizeTo(_rect);
}
void DockingManager::reSizeTo(RECT & rc)
{
/* store current size of client area */
_rect = rc;
/* prepare size of work area */
_rcWork = rc;
if (_isInitialized == FALSE)
return;
/* set top container */
_dockData.rcRegion[CONT_TOP].left = rc.left;
_dockData.rcRegion[CONT_TOP].top = rc.top;
_dockData.rcRegion[CONT_TOP].right = rc.right-rc.left;
_vSplitter[CONT_TOP]->display(false);
if (_vContainer[CONT_TOP]->isVisible())
{
_rcWork.top += _dockData.rcRegion[CONT_TOP].bottom + SPLITTER_WIDTH;
_rcWork.bottom -= _dockData.rcRegion[CONT_TOP].bottom + SPLITTER_WIDTH;
/* set size of splitter */
RECT rc = {_dockData.rcRegion[CONT_TOP].left ,
_dockData.rcRegion[CONT_TOP].top + _dockData.rcRegion[CONT_TOP].bottom,
_dockData.rcRegion[CONT_TOP].right ,
SPLITTER_WIDTH};
_vSplitter[CONT_TOP]->reSizeTo(rc);
}
/* set bottom container */
_dockData.rcRegion[CONT_BOTTOM].left = rc.left;
_dockData.rcRegion[CONT_BOTTOM].top = rc.top + rc.bottom - _dockData.rcRegion[CONT_BOTTOM].bottom;
_dockData.rcRegion[CONT_BOTTOM].right = rc.right-rc.left;
/* create temporary rect for bottom container */
RECT rcBottom = _dockData.rcRegion[CONT_BOTTOM];
_vSplitter[CONT_BOTTOM]->display(false);
if (_vContainer[CONT_BOTTOM]->isVisible())
{
_rcWork.bottom -= _dockData.rcRegion[CONT_BOTTOM].bottom + SPLITTER_WIDTH;
/* correct the visibility of bottom container when height is NULL */
if (_rcWork.bottom < rc.top)
{
rcBottom.top = _rcWork.top + rc.top + SPLITTER_WIDTH;
rcBottom.bottom += _rcWork.bottom - rc.top;
_rcWork.bottom = rc.top;
}
if ((rcBottom.bottom + SPLITTER_WIDTH) < 0)
{
_rcWork.bottom = rc.bottom - _dockData.rcRegion[CONT_TOP].bottom;
}
/* set size of splitter */
RECT rc = {rcBottom.left,
rcBottom.top - SPLITTER_WIDTH,
rcBottom.right,
SPLITTER_WIDTH};
_vSplitter[CONT_BOTTOM]->reSizeTo(rc);
}
/* set left container */
_dockData.rcRegion[CONT_LEFT].left = rc.left;
_dockData.rcRegion[CONT_LEFT].top = _rcWork.top;
_dockData.rcRegion[CONT_LEFT].bottom = _rcWork.bottom;
_vSplitter[CONT_LEFT]->display(false);
if (_vContainer[CONT_LEFT]->isVisible())
{
_rcWork.left += _dockData.rcRegion[CONT_LEFT].right + SPLITTER_WIDTH;
_rcWork.right -= _dockData.rcRegion[CONT_LEFT].right + SPLITTER_WIDTH;
/* set size of splitter */
RECT rc = {_dockData.rcRegion[CONT_LEFT].right,
_dockData.rcRegion[CONT_LEFT].top,
SPLITTER_WIDTH,
_dockData.rcRegion[CONT_LEFT].bottom};
_vSplitter[CONT_LEFT]->reSizeTo(rc);
}
/* set right container */
_dockData.rcRegion[CONT_RIGHT].left = rc.right - _dockData.rcRegion[CONT_RIGHT].right;
_dockData.rcRegion[CONT_RIGHT].top = _rcWork.top;
_dockData.rcRegion[CONT_RIGHT].bottom = _rcWork.bottom;
/* create temporary rect for right container */
RECT rcRight = _dockData.rcRegion[CONT_RIGHT];
_vSplitter[CONT_RIGHT]->display(false);
if (_vContainer[CONT_RIGHT]->isVisible())
{
_rcWork.right -= _dockData.rcRegion[CONT_RIGHT].right + SPLITTER_WIDTH;
/* correct the visibility of right container when width is NULL */
if (_rcWork.right < 15)
{
rcRight.left = _rcWork.left + 15 + SPLITTER_WIDTH;
rcRight.right += _rcWork.right - 15;
_rcWork.right = 15;
}
/* set size of splitter */
RECT rc = {rcRight.left - SPLITTER_WIDTH,
rcRight.top,
SPLITTER_WIDTH,
rcRight.bottom};
_vSplitter[CONT_RIGHT]->reSizeTo(rc);
}
/* set window positions of container*/
if (_vContainer[CONT_BOTTOM]->isVisible())
{
::SetWindowPos(_vContainer[CONT_BOTTOM]->getHSelf(), NULL,
rcBottom.left ,
rcBottom.top ,
rcBottom.right ,
rcBottom.bottom,
SWP_NOZORDER);
_vSplitter[CONT_BOTTOM]->display();
}
if (_vContainer[CONT_TOP]->isVisible())
{
::SetWindowPos(_vContainer[CONT_TOP]->getHSelf(), NULL,
_dockData.rcRegion[CONT_TOP].left ,
_dockData.rcRegion[CONT_TOP].top ,
_dockData.rcRegion[CONT_TOP].right ,
_dockData.rcRegion[CONT_TOP].bottom,
SWP_NOZORDER);
_vSplitter[CONT_TOP]->display();
}
if (_vContainer[CONT_RIGHT]->isVisible())
{
::SetWindowPos(_vContainer[CONT_RIGHT]->getHSelf(), NULL,
rcRight.left ,
rcRight.top ,
rcRight.right ,
rcRight.bottom,
SWP_NOZORDER);
_vSplitter[CONT_RIGHT]->display();
}
if (_vContainer[CONT_LEFT]->isVisible())
{
::SetWindowPos(_vContainer[CONT_LEFT]->getHSelf(), NULL,
_dockData.rcRegion[CONT_LEFT].left ,
_dockData.rcRegion[CONT_LEFT].top ,
_dockData.rcRegion[CONT_LEFT].right ,
_dockData.rcRegion[CONT_LEFT].bottom,
SWP_NOZORDER);
_vSplitter[CONT_LEFT]->display();
}
(*_ppMainWindow)->reSizeTo(_rcWork);
}
void DockingManager::createDockableDlg(tTbData data, int iCont, bool isVisible)
{
/* add icons */
if (data.uMask & DWS_ICONTAB)
{
/* create image list if not exist */
if (_hImageList == NULL)
{
_hImageList = ::ImageList_Create(14,14,ILC_COLOR8, 0, 0);
}
/* add icon */
::ImageList_AddIcon(_hImageList, data.hIconTab);
/* do the reference here to find later the correct position */
_vImageList.push_back(data.hClient);
}
/* create additional containers if necessary */
RECT rc = {0,0,0,0};
DockingCont* pCont = NULL;
/* if floated rect not set */
if (memcmp(&data.rcFloat, &rc, sizeof(RECT)) == 0)
{
/* set default rect state */
::GetWindowRect(data.hClient, &data.rcFloat);
/* test if dialog is first time created */
if (iCont == -1)
{
/* set default visible state */
isVisible = (::IsWindowVisible(data.hClient) == TRUE);
if (data.uMask & DWS_DF_FLOATING)
{
/* create new container */
pCont = new DockingCont;
_vContainer.push_back(pCont);
/* initialize */
pCont->init(_hInst, _hSelf);
pCont->doDialog(isVisible, true);
/* get previous position and set container id */
data.iPrevCont = (data.uMask & 0x30000000) >> 28;
iCont = _vContainer.size()-1;
}
else
{
/* set position */
iCont = (data.uMask & 0x30000000) >> 28;
/* previous container is not selected */
data.iPrevCont = -1;
}
}
}
/* if one of the container was not created before */
else if ((iCont >= DOCKCONT_MAX) || (data.iPrevCont >= DOCKCONT_MAX))
{
/* test if current container is in floating state */
if (iCont >= DOCKCONT_MAX)
{
/* no mapping for available store mapping */
if (_iContMap[iCont] == -1)
{
/* create new container */
pCont = new DockingCont;
_vContainer.push_back(pCont);
/* initialize and map container id */
pCont->init(_hInst, _hSelf);
pCont->doDialog(isVisible, true);
_iContMap[iCont] = _vContainer.size()-1;
}
/* get current container from map */
iCont = _iContMap[iCont];
}
/* previous container is in floating state */
else
{
/* no mapping for available store mapping */
if (_iContMap[data.iPrevCont] == -1)
{
/* create new container */
pCont = new DockingCont;
_vContainer.push_back(pCont);
/* initialize and map container id */
pCont->init(_hInst, _hSelf);
pCont->doDialog(false, true);
pCont->reSizeToWH(data.rcFloat);
_iContMap[data.iPrevCont] = _vContainer.size()-1;
}
data.iPrevCont = _iContMap[data.iPrevCont];
}
}
/* notify client app */
if (iCont < DOCKCONT_MAX)
SendNotify(data.hClient, MAKELONG(DMN_DOCK, iCont));
else
SendNotify(data.hClient, MAKELONG(DMN_FLOAT, iCont));
/* attach toolbar */
_vContainer[iCont]->createToolbar(data, _ppMainWindow);
}
void DockingManager::setActiveTab(int iCont, int iItem)
{
if ((iCont == -1) || (_iContMap[iCont] == -1))
return;
_vContainer[_iContMap[iCont]]->setActiveTb(iItem);
}
DockingCont* DockingManager::toggleActiveTb(DockingCont* pContSrc, UINT message, BOOL bNew, LPRECT prcFloat)
{
tTbData TbData = *pContSrc->getDataOfActiveTb();
int iContSrc = GetContainer(pContSrc);
int iContPrev = TbData.iPrevCont;
BOOL isCont = ContExists(iContPrev);
DockingCont* pContTgt = NULL;
/* if new float position is given */
if (prcFloat != NULL)
{
TbData.rcFloat = *prcFloat;
}
/* remove toolbar from anywhere */
TbData = _vContainer[iContSrc]->destroyToolbar(TbData);
if ((isCont == FALSE) || (bNew == TRUE))
{
/* find an empty container */
int iContNew = FindEmptyContainer();
if (iContNew == -1)
{
/* if no free container is available create a new one */
pContTgt = new DockingCont;
pContTgt->init(_hInst, _hSelf);
pContTgt->doDialog(true, true);
/* change only on toggling */
if ((bNew == FALSE) || (!pContSrc->isFloating()))
TbData.iPrevCont = iContSrc;
pContTgt->createToolbar(TbData, _ppMainWindow);
_vContainer.push_back(pContTgt);
}
else
{
/* set new target */
pContTgt = _vContainer[iContNew];
/* change only on toggling */
if ((pContSrc->isFloating()) != (pContTgt->isFloating()))
TbData.iPrevCont = iContSrc;
pContTgt->createToolbar(TbData, _ppMainWindow);
}
}
else
{
/* set new target */
pContTgt = _vContainer[iContPrev];
/* change data normaly */
TbData.iPrevCont = iContSrc;
pContTgt->createToolbar(TbData, _ppMainWindow);
}
/* notify client app */
SendNotify(TbData.hClient, MAKELONG(message==DMM_DOCK?DMN_DOCK:DMN_FLOAT, GetContainer(pContTgt)));
return pContTgt;
}
DockingCont* DockingManager::toggleVisTb(DockingCont* pContSrc, UINT message, LPRECT prcFloat)
{
vector<tTbData*> vTbData = pContSrc->getDataOfVisTb();
tTbData* pTbData = pContSrc->getDataOfActiveTb();
int iContSrc = GetContainer(pContSrc);
int iContPrev = pTbData->iPrevCont;
BOOL isCont = ContExists(iContPrev);
DockingCont* pContTgt = NULL;
/* at first hide container and resize */
pContSrc->doDialog(false);
onSize();
for (size_t iTb = 0; iTb < vTbData.size(); iTb++)
{
/* get data one by another */
tTbData TbData = *vTbData[iTb];
/* if new float position is given */
if (prcFloat != NULL)
{
TbData.rcFloat = *prcFloat;
}
/* remove toolbar from anywhere */
TbData = _vContainer[iContSrc]->destroyToolbar(TbData);
if (isCont == FALSE)
{
/* create new container */
pContTgt = new DockingCont;
pContTgt->init(_hInst, _hSelf);
pContTgt->doDialog(true, true);
TbData.iPrevCont = iContSrc;
pContTgt->createToolbar(TbData, _ppMainWindow);
_vContainer.push_back(pContTgt);
/* now container exists */
isCont = TRUE;
iContPrev = GetContainer(pContTgt);
}
else
{
/* set new target */
pContTgt = _vContainer[iContPrev];
TbData.iPrevCont = iContSrc;
pContTgt->createToolbar(TbData, _ppMainWindow);
}
SendNotify(TbData.hClient, MAKELONG(message==DMM_DOCK?DMN_DOCK:DMN_FLOAT, GetContainer(pContTgt)));
}
_vContainer[iContPrev]->setActiveTb(pTbData);
return pContTgt;
}
void DockingManager::toggleActiveTb(DockingCont* pContSrc, DockingCont* pContTgt)
{
tTbData TbData = *pContSrc->getDataOfActiveTb();
toggleTb(pContSrc, pContTgt, TbData);
}
void DockingManager::toggleVisTb(DockingCont* pContSrc, DockingCont* pContTgt)
{
vector<tTbData*> vTbData = pContSrc->getDataOfVisTb();
tTbData* pTbData = pContSrc->getDataOfActiveTb();
/* at first hide container and resize */
pContSrc->doDialog(false);
onSize();
for (size_t iTb = 0; iTb < vTbData.size(); iTb++)
{
/* get data one by another */
tTbData TbData = *vTbData[iTb];
toggleTb(pContSrc, pContTgt, TbData);
}
pContTgt->setActiveTb(pTbData);
}
void DockingManager::toggleTb(DockingCont* pContSrc, DockingCont* pContTgt, tTbData TbData)
{
int iContSrc = GetContainer(pContSrc);
int iContTgt = GetContainer(pContTgt);
/* remove toolbar from anywhere */
TbData = _vContainer[iContSrc]->destroyToolbar(TbData);
/* test if container state changes from docking to floating or vice versa */
if (((iContSrc < DOCKCONT_MAX) && (iContTgt >= DOCKCONT_MAX)) ||
((iContSrc >= DOCKCONT_MAX) && (iContTgt < DOCKCONT_MAX)))
{
/* change states */
TbData.iPrevCont = iContSrc;
}
/* notify client app */
if (iContTgt < DOCKCONT_MAX)
SendNotify(TbData.hClient, MAKELONG(DMN_DOCK, iContTgt));
else
SendNotify(TbData.hClient, MAKELONG(DMN_FLOAT, iContTgt));
pContTgt->createToolbar(TbData, _ppMainWindow);
}
BOOL DockingManager::ContExists(size_t iCont)
{
BOOL bRet = FALSE;
if (iCont < _vContainer.size())
{
bRet = TRUE;
}
return bRet;
}
int DockingManager::GetContainer(DockingCont* pCont)
{
int iRet = -1;
for (size_t iCont = 0; iCont < _vContainer.size(); iCont++)
{
if (_vContainer[iCont] == pCont)
{
iRet = iCont;
break;
}
}
return iRet;
}
int DockingManager::FindEmptyContainer(void)
{
int iRetCont = -1;
BOOL* pPrevDockList = (BOOL*) new BOOL[_vContainer.size()+1];
BOOL* pArrayPos = &pPrevDockList[1];
/* delete all entries */
for (size_t iCont = 0; iCont < _vContainer.size()+1; iCont++)
{
pPrevDockList[iCont] = FALSE;
}
/* search for used floated containers */
for (size_t iCont = 0; iCont < DOCKCONT_MAX; iCont++)
{
vector<tTbData*> vTbData = _vContainer[iCont]->getDataOfAllTb();
for (size_t iTb = 0; iTb < vTbData.size(); iTb++)
{
pArrayPos[vTbData[iTb]->iPrevCont] = TRUE;
}
}
/* find free container */
for (size_t iCont = DOCKCONT_MAX; iCont < _vContainer.size(); iCont++)
{
if (pArrayPos[iCont] == FALSE)
{
/* and test if container is hidden */
if (!_vContainer[iCont]->isVisible())
{
iRetCont = iCont;
break;
}
}
}
delete [] pPrevDockList;
/* search for empty arrays */
return iRetCont;
}

View File

@ -1,209 +0,0 @@
//this file is part of docking functionality for Notepad++
//Copyright (C)2006 Jens Lorenz <jens.plugin.npp@gmx.de>
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef DOCKINGMANAGER_H
#define DOCKINGMANAGER_H
#include "Docking.h"
#include "Window.h"
#include "DockingCont.h"
#include "DockingSplitter.h"
#include "SysMsg.h"
#include <vector>
#include <commctrl.h>
#include "SplitterContainer.h"
#include "dockingResource.h"
#include "Parameters.h"
#define DSPC_CLASS_NAME "dockingManager"
using namespace std;
#define CONT_MAP_MAX 50
class DockingManager : public Window
{
public :
DockingManager();
~DockingManager(){
// delete 4 splitters
for (int i = 0; i < DOCKCONT_MAX; i++)
{
delete _vSplitter[i];
}
};
void init(HINSTANCE hInst, HWND hWnd, Window ** ppWin);
virtual void reSizeTo(RECT & rc);
void setClientWnd(Window ** ppWin) {
_ppWindow = ppWin;
_ppMainWindow = ppWin;
};
void showContainer(HWND hCont, BOOL view = TRUE) {
for (size_t iCont = 0; iCont < _vContainer.size(); iCont++)
{
if (_vContainer[iCont]->getHSelf() == hCont)
showContainer(iCont, view);
}
}
void showContainer(UINT uCont, BOOL view = TRUE) {
_vContainer[uCont]->doDialog((view == TRUE));
onSize();
}
void updateContainerInfo(HWND hClient) {
for (size_t iCont = 0; iCont < _vContainer.size(); iCont++)
{
if (_vContainer[iCont]->updateInfo(hClient) == TRUE)
{
break;
}
}
};
void createDockableDlg(tTbData data, int iCont = CONT_LEFT, bool isVisible = false);
void setActiveTab(int iCont, int iItem);
void showDockableDlg(HWND hDlg, BOOL view) {
tTbData* pTbData = NULL;
for (size_t i = 0; i < _vContainer.size(); i++)
{
pTbData = _vContainer[i]->findToolbarByWnd(hDlg);
if (pTbData != NULL)
{
_vContainer[i]->showToolbar(pTbData, view);
return;
}
}
};
void showDockableDlg(char* pszName, BOOL view) {
tTbData* pTbData = NULL;
for (size_t i = 0; i < _vContainer.size(); i++)
{
pTbData = _vContainer[i]->findToolbarByName(pszName);
if (pTbData != NULL)
{
_vContainer[i]->showToolbar(pTbData, view);
return;
}
}
};
DockingCont* toggleActiveTb(DockingCont* pContSrc, UINT message, BOOL bNew = FALSE);
DockingCont* toggleVisTb(DockingCont* pContSrc, UINT message);
void toggleActiveTb(DockingCont* pContSrc, DockingCont* pContTgt);
void toggleVisTb(DockingCont* pContSrc, DockingCont* pContTgt);
/* get number of container */
int GetContainer(DockingCont* pCont);
/* get all container in vector */
vector<DockingCont*> getContainerInfo(void) {
return _vContainer;
};
/* get dock data (sized areas) */
void getDockInfo(tDockMgr *pDockData) {
*pDockData = _dockData;
};
/* setting styles of docking */
void setStyleCaption(BOOL captionOnTop) {
_vContainer[CONT_TOP]->setCaptionTop(captionOnTop);
_vContainer[CONT_BOTTOM]->setCaptionTop(captionOnTop);
};
int getDockedContSize(int iCont)
{
if ((iCont == CONT_TOP) || (iCont == CONT_BOTTOM))
return _dockData.rcRegion[iCont].bottom;
else if ((iCont == CONT_LEFT) || (iCont == CONT_RIGHT))
return _dockData.rcRegion[iCont].right;
else
return -1;
};
void setDockedContSize(int iCont, int iSize)
{
if ((iCont == CONT_TOP) || (iCont == CONT_BOTTOM))
_dockData.rcRegion[iCont].bottom = iSize;
else if ((iCont == CONT_LEFT) || (iCont == CONT_RIGHT))
_dockData.rcRegion[iCont].right = iSize;
else
return;
onSize();
};
virtual void destroy() {
::DestroyWindow(_hSelf);
};
private :
static LRESULT CALLBACK staticWinProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
LRESULT runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
void onSize(void);
void toggleTb(DockingCont* pContSrc, DockingCont* pContTgt, tTbData TbData);
/* test if container exists */
BOOL ContExists(size_t iCont);
int FindEmptyContainer(void);
LRESULT SendNotify(HWND hWnd, UINT message) {
NMHDR nmhdr;
nmhdr.code = message;
nmhdr.hwndFrom = _hParent;
nmhdr.idFrom = ::GetDlgCtrlID(_hParent);
::SendMessage(hWnd, WM_NOTIFY, nmhdr.idFrom, (LPARAM)&nmhdr);
return ::GetWindowLong(hWnd, DWL_MSGRESULT);
};
private:
/* Handles */
Window **_ppWindow;
RECT _rcWork;
RECT _rect;
Window **_ppMainWindow;
/* handles all the icons */
vector<HWND> _vImageList;
HIMAGELIST _hImageList;
vector<DockingCont*> _vContainer;
tDockMgr _dockData;
static BOOL _isRegistered;
BOOL _isInitialized;
/* container map for startup (restore settings) */
int _iContMap[CONT_MAP_MAX];
/* splitter data */
vector<DockingSplitter*> _vSplitter;
};
#endif //DOCKINGMANAGER_H

View File

@ -1,206 +0,0 @@
//this file is part of docking functionality for Notepad++
//Copyright (C)2006 Jens Lorenz <jens.plugin.npp@gmx.de>
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "DockingSplitter.h"
BOOL DockingSplitter::_isVertReg = FALSE;
BOOL DockingSplitter::_isHoriReg = FALSE;
static HWND hWndMouse = NULL;
static HHOOK hookMouse = NULL;
#ifndef WH_MOUSE_LL
#define WH_MOUSE_LL 14
#endif
static LRESULT CALLBACK hookProcMouse(UINT nCode, WPARAM wParam, LPARAM lParam)
{
if(nCode >= 0)
{
switch (wParam)
{
case WM_MOUSEMOVE:
case WM_NCMOUSEMOVE:
::PostMessage(hWndMouse, wParam, 0, 0);
break;
case WM_LBUTTONUP:
case WM_NCLBUTTONUP:
::PostMessage(hWndMouse, wParam, 0, 0);
return TRUE;
default:
break;
}
}
return ::CallNextHookEx(hookMouse, nCode, wParam, lParam);
}
void DockingSplitter::init(HINSTANCE hInst, HWND hWnd, HWND hMessage, UINT flags)
{
Window::init(hInst, hWnd);
_hMessage = hMessage;
_flags = flags;
WNDCLASS wc;
if (flags & DMS_HORIZONTAL)
{
//double sided arrow pointing north-south as cursor
wc.hCursor = ::LoadCursor(NULL,IDC_SIZENS);
wc.lpszClassName = "nsdockspliter";
}
else
{
// double sided arrow pointing east-west as cursor
wc.hCursor = ::LoadCursor(NULL,IDC_SIZEWE);
wc.lpszClassName = "wedockspliter";
}
if (((_isHoriReg == FALSE) && (flags & DMS_HORIZONTAL)) ||
((_isVertReg == FALSE) && (flags & DMS_VERTICAL)))
{
wc.style = CS_HREDRAW | CS_VREDRAW;
wc.lpfnWndProc = staticWinProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = _hInst;
wc.hIcon = NULL;
wc.hbrBackground = (HBRUSH)(COLOR_3DFACE+1);
wc.lpszMenuName = NULL;
if (!::RegisterClass(&wc))
{
systemMessage("System Err");
throw int(98);
}
else if (flags & DMS_HORIZONTAL)
{
_isHoriReg = TRUE;
}
else
{
_isVertReg = TRUE;
}
}
/* create splitter windows and initialize it */
_hSelf = ::CreateWindowEx( 0, wc.lpszClassName, "", WS_CHILD | WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
_hParent, NULL, _hInst, (LPVOID)this);
if (!_hSelf)
{
systemMessage("System Err");
throw int(777);
}
}
LRESULT CALLBACK DockingSplitter::staticWinProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
DockingSplitter *pDockingSplitter = NULL;
switch (message)
{
case WM_NCCREATE :
pDockingSplitter = (DockingSplitter *)(((LPCREATESTRUCT)lParam)->lpCreateParams);
pDockingSplitter->_hSelf = hwnd;
::SetWindowLong(hwnd, GWL_USERDATA, reinterpret_cast<LONG>(pDockingSplitter));
return TRUE;
default :
pDockingSplitter = (DockingSplitter *)::GetWindowLong(hwnd, GWL_USERDATA);
if (!pDockingSplitter)
return ::DefWindowProc(hwnd, message, wParam, lParam);
return pDockingSplitter->runProc(hwnd, message, wParam, lParam);
}
}
LRESULT DockingSplitter::runProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_LBUTTONDOWN:
{
hWndMouse = hwnd;
if (GetVersion() & 0x80000000)
{
hookMouse = ::SetWindowsHookEx(WH_MOUSE, (HOOKPROC)hookProcMouse, _hInst, 0);
}
else
{
hookMouse = ::SetWindowsHookEx(WH_MOUSE_LL, (HOOKPROC)hookProcMouse, _hInst, 0);
}
if (!hookMouse)
{
DWORD dwError = ::GetLastError();
TCHAR str[128];
::wsprintf(str, "GetLastError() returned %lu", dwError);
::MessageBox(NULL, str, "SetWindowsHookEx(MOUSE) failed", MB_OK | MB_ICONERROR);
}
::GetCursorPos(&_ptOldPos);
_isLeftButtonDown = TRUE;
break;
}
case WM_LBUTTONUP:
case WM_NCLBUTTONUP:
{
/* end hooking */
if (hookMouse)
{
::UnhookWindowsHookEx(hookMouse);
hookMouse = NULL;
}
_isLeftButtonDown = FALSE;
break;
}
case WM_MOUSEMOVE:
case WM_NCMOUSEMOVE:
{
if (_isLeftButtonDown == TRUE)
{
POINT pt;
::GetCursorPos(&pt);
if ((_flags & DMS_HORIZONTAL) && (_ptOldPos.y != pt.y))
{
::SendMessage(_hMessage, DMM_MOVE_SPLITTER, (WPARAM)_ptOldPos.y - pt.y, (LPARAM)_hSelf);
}
else if (_ptOldPos.x != pt.x)
{
::SendMessage(_hMessage, DMM_MOVE_SPLITTER, (WPARAM)_ptOldPos.x - pt.x, (LPARAM)_hSelf);
}
_ptOldPos = pt;
}
break;
}
default :
break;
}
return ::DefWindowProc(hwnd, message, wParam, lParam);
}

View File

@ -1,794 +0,0 @@
//this file is part of docking functionality for Notepad++
//Copyright (C)2006 Jens Lorenz <jens.plugin.npp@gmx.de>
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "dockingResource.h"
#include "math.h"
#include "Docking.h"
#include "Gripper.h"
#ifndef WH_KEYBOARD_LL
#define WH_KEYBOARD_LL 13
#endif
#ifndef WH_MOUSE_LL
#define WH_MOUSE_LL 14
#endif
BOOL Gripper::_isRegistered = FALSE;
static HWND hWndServer = NULL;
static HHOOK hookMouse = NULL;
static HHOOK hookKeyboard = NULL;
static LRESULT CALLBACK hookProcMouse(INT nCode, WPARAM wParam, LPARAM lParam)
{
if (nCode >= 0)
{
switch (wParam)
{
case WM_MOUSEMOVE:
case WM_NCMOUSEMOVE:
::PostMessage(hWndServer, wParam, 0, 0);
break;
case WM_LBUTTONUP:
case WM_NCLBUTTONUP:
::PostMessage(hWndServer, wParam, 0, 0);
return TRUE;
default:
break;
}
}
return ::CallNextHookEx(hookMouse, nCode, wParam, lParam);
}
static LRESULT CALLBACK hookProcKeyboard(INT nCode, WPARAM wParam, LPARAM lParam)
{
if (nCode >= 0)
{
if (wParam == VK_ESCAPE)
{
::PostMessage(hWndServer, DMM_CANCEL_MOVE, 0, 0);
return FALSE;
}
}
return ::CallNextHookEx(hookKeyboard, nCode, wParam, lParam);
}
Gripper::Gripper(void)
{
_hInst = NULL;
_hParent = NULL;
_hSelf = NULL;
_pDockMgr = NULL;
_pCont = NULL;
_ptOffset.x = 0;
_ptOffset.y = 0;
_ptOld.x = 0;
_ptOld.y = 0;
_bPtOldValid = FALSE;
_hTab = NULL;
_hTabSource = NULL;
_startMovingFromTab = FALSE;
_iItem = 0;
memset(&_rcItem, 0, sizeof(RECT));
memset(&_tcItem, 0, sizeof(TCITEM));
memset(&_dockData, 0, sizeof(tDockMgr));
}
void Gripper::startGrip(DockingCont* pCont, DockingManager* pDockMgr, void* pRes)
{
MSG msg = {0};
BOOL bIsRel = FALSE;
HWND hWnd = NULL;
_pDockMgr = pDockMgr;
_pCont = pCont;
_pRes = pRes;
_pDockMgr->getDockInfo(&_dockData);
if (!_isRegistered)
{
WNDCLASS clz;
clz.style = 0;
clz.lpfnWndProc = staticWinProc;
clz.cbClsExtra = 0;
clz.cbWndExtra = 0;
clz.hInstance = _hInst;
clz.hIcon = NULL;
clz.hCursor = NULL;
clz.hbrBackground = NULL;
clz.lpszMenuName = NULL;
clz.lpszClassName = MDLG_CLASS_NAME;
if (!::RegisterClass(&clz))
{
systemMessage("System Err");
throw int(98);
}
_isRegistered = TRUE;
}
_hSelf = ::CreateWindowEx(
0,
MDLG_CLASS_NAME,
"", 0,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT,
NULL,
NULL,
_hInst,
(LPVOID)this);
hWndServer = _hSelf;
if (!_hSelf)
{
systemMessage("System Err");
throw int(777);
}
}
LRESULT CALLBACK Gripper::staticWinProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
Gripper *pDlgMoving = NULL;
switch (message)
{
case WM_NCCREATE :
pDlgMoving = (Gripper *)(((LPCREATESTRUCT)lParam)->lpCreateParams);
pDlgMoving->_hSelf = hwnd;
::SetWindowLong(hwnd, GWL_USERDATA, reinterpret_cast<LONG>(pDlgMoving));
return TRUE;
default :
pDlgMoving = (Gripper *)::GetWindowLong(hwnd, GWL_USERDATA);
if (!pDlgMoving)
return ::DefWindowProc(hwnd, message, wParam, lParam);
return pDlgMoving->runProc(message, wParam, lParam);
}
}
LRESULT Gripper::runProc(UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_CREATE:
{
create();
break;
}
case WM_MOUSEMOVE:
case WM_NCMOUSEMOVE:
{
onMove();
return TRUE;
}
case WM_LBUTTONUP:
case WM_NCLBUTTONUP:
{
/* end hooking */
if (hookMouse)
{
::UnhookWindowsHookEx(hookMouse);
::UnhookWindowsHookEx(hookKeyboard);
hookMouse = NULL;
hookKeyboard = NULL;
}
onButtonUp();
::DestroyWindow(_hSelf);
return TRUE;
}
case DMM_CANCEL_MOVE:
{
POINT pt = {0,0};
POINT ptBuf = {0,0};
RECT rc = {0};
::GetCursorPos(&pt);
getMousePoints(&pt, &ptBuf);
/* erase last drawn rectangle */
drawRectangle(ptBuf);
/* end hooking */
::UnhookWindowsHookEx(hookMouse);
::UnhookWindowsHookEx(hookKeyboard);
::DestroyWindow(_hSelf);
return FALSE;
}
case WM_DESTROY:
{
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
::SetWindowPos(_hParent, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
_pCont->focusClient();
delete _pRes;
break;
}
default:
break;
}
return ::DefWindowProc(_hSelf, message, wParam, lParam);
}
void Gripper::create(void)
{
RECT rc = {0};
POINT pt = {0};
/* start hooking */
::SetWindowPos(_pCont->getHSelf(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
::SetCapture(_hSelf);
if (GetVersion() & 0x80000000)
{
hookMouse = ::SetWindowsHookEx(WH_MOUSE, (HOOKPROC)hookProcMouse, _hInst, 0);
}
else
{
hookMouse = ::SetWindowsHookEx(WH_MOUSE_LL, (HOOKPROC)hookProcMouse, _hInst, 0);
}
if (!hookMouse)
{
DWORD dwError = ::GetLastError();
TCHAR str[128];
::wsprintf(str, "GetLastError() returned %lu", dwError);
::MessageBox(NULL, str, "SetWindowsHookEx(MOUSE) failed", MB_OK | MB_ICONERROR);
}
hookKeyboard = ::SetWindowsHookEx(WH_KEYBOARD, (HOOKPROC)hookProcKeyboard, _hInst, 0);
if (!hookKeyboard)
{
DWORD dwError = ::GetLastError();
TCHAR str[128];
::wsprintf(str, "GetLastError() returned %lu", dwError);
::MessageBox(NULL, str, "SetWindowsHookEx(KEYBOARD) failed", MB_OK | MB_ICONERROR);
}
// Removed regarding W9x systems
// mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
/* calculate the mouse pt within dialog */
::GetCursorPos(&pt);
/* get tab informations */
initTabInformation(pt);
if (_pCont->isFloating() == true)
{
::GetWindowRect(_pCont->getHSelf(), &rc);
}
else
{
_pCont->getClientRect(rc);
::ScreenToClient(_pCont->getHSelf(), &pt);
}
_ptOffset.x = pt.x - rc.left;
_ptOffset.y = pt.y - rc.top;
}
void Gripper::onMove(void)
{
POINT pt = {0,0};
POINT ptBuf = {0,0};
::GetCursorPos(&pt);
getMousePoints(&pt, &ptBuf);
/* On first time: Do not erase previous rect, because it dosn't exist */
if (_bPtOldValid == TRUE)
drawRectangle(ptBuf);
/* tab reordering only when tab was selected */
if (_startMovingFromTab == TRUE)
{
doTabReordering(pt);
}
drawRectangle(pt);
_bPtOldValid = TRUE;
}
void Gripper::onButtonUp(void)
{
POINT pt = {0,0};
POINT ptBuf = {0,0};
RECT rc = {0};
RECT rcCorr = {0};
DockingCont* pContMove = NULL;
::GetCursorPos(&pt);
getMousePoints(&pt, &ptBuf);
/* do nothing, when old point is not valid */
if (_bPtOldValid == FALSE)
return;
/* erase last drawn rectangle */
drawRectangle(ptBuf);
/* look if current position is within dockable area */
DockingCont* pDockCont = contHitTest(pt);
if (pDockCont == NULL)
{
pDockCont = workHitTest(pt);
}
/* add dependency to other container class */
if (pDockCont == NULL)
{
/* calculate new position */
rc = _pCont->getDataOfActiveTb()->rcFloat;
_pCont->getClientRect(rcCorr);
CalcRectToScreen(_dockData.hWnd, &rc);
CalcRectToScreen(_dockData.hWnd, &rcCorr);
rc.left = pt.x - _ptOffset.x;
rc.top = pt.y - _ptOffset.y;
/* correct rectangle position when mouse is not within */
DoCalcGripperRect(&rc, rcCorr, pt);
/* change location of toolbars */
if (_startMovingFromTab == TRUE)
{
/* when tab is moved */
if ((!_pCont->isFloating()) ||
((_pCont->isFloating()) && (::SendMessage(_hTabSource, TCM_GETITEMCOUNT, 0, 0) > 1)))
{
pContMove = _pDockMgr->toggleActiveTb(_pCont, DMM_FLOAT, TRUE, &rc);
}
}
else if (!_pCont->isFloating())
{
/* when all windows are moved */
pContMove = _pDockMgr->toggleVisTb(_pCont, DMM_FLOAT, &rc);
}
/* set moving container */
if (pContMove == NULL)
{
pContMove = _pCont;
}
/* update window position */
::MoveWindow(pContMove->getHSelf(), rc.left, rc.top, rc.right, rc.bottom, TRUE);
::SendMessage(pContMove->getHSelf(), WM_SIZE, 0, 0);
}
else if (_pCont != pDockCont)
{
/* change location of toolbars */
if ((_startMovingFromTab == TRUE) && (::SendMessage(_hTabSource, TCM_GETITEMCOUNT, 0, 0) != 1))
{
/* when tab is moved */
_pDockMgr->toggleActiveTb(_pCont, pDockCont);
}
else
{
/* when all windows are moved */
_pDockMgr->toggleVisTb(_pCont, pDockCont);
}
}
}
void Gripper::doTabReordering(POINT pt)
{
vector<DockingCont*> vCont = _pDockMgr->getContainerInfo();
BOOL inTab = FALSE;
HWND hTab = NULL;
HWND hTabOld = _hTab;
int iItem = -1;
int iItemOld = _iItem;
/* search for every tab entry */
for (size_t iCont = 0; iCont < vCont.size(); iCont++)
{
hTab = vCont[iCont]->getTabWnd();
/* search only if container is visible */
if (::IsWindowVisible(hTab) == TRUE)
{
RECT rc = {0};
::GetWindowRect(hTab, &rc);
/* test if cursor points in tab window */
if (::PtInRect(&rc, pt) == TRUE)
{
TCHITTESTINFO info = {0};
TCITEM tcItem = {0};
if (_hTab == NULL)
{
initTabInformation(pt);
hTabOld = _hTab;
iItemOld = _iItem;
}
/* get pointed tab item */
info.pt = pt;
::ScreenToClient(hTab, &info.pt);
iItem = ::SendMessage(hTab, TCM_HITTEST, 0, (LPARAM)&info);
if (iItem != -1)
{
/* prevent flickering of tabs with different sizes */
::SendMessage(hTab, TCM_GETITEMRECT, iItem, (LPARAM)&rc);
ClientToScreen(hTab, &rc);
if ((rc.left + (_rcItem.right - _rcItem.left)) < pt.x)
{
return;
}
_iItem = iItem;
}
else if ((hTab != _hTab) || (_iItem == -1))
{
/* test if cusor points after last tab */
int iLastItem = ::SendMessage(hTab, TCM_GETITEMCOUNT, 0, 0) - 1;
::SendMessage(hTab, TCM_GETITEMRECT, iLastItem, (LPARAM)&rc);
if ((rc.left + rc.right) < pt.x)
{
_iItem = iLastItem + 1;
}
}
_hTab = hTab;
inTab = TRUE;
break;
}
}
}
/* set and remove tabs correct */
if ((inTab == TRUE) && (iItemOld != _iItem))
{
if (_hTab == _hTabSource)
{
/* delete item if switching back to source tab */
int iSel = ::SendMessage(_hTab, TCM_GETCURSEL, 0, 0);
::SendMessage(_hTab, TCM_DELETEITEM, iSel, 0);
}
else if (_hTab == hTabOld)
{
/* delete item on switch between tabs */
::SendMessage(_hTab, TCM_DELETEITEM, iItemOld, 0);
}
else
{
if (_hTab == hTabOld)
{
/* delete item on switch between tabs */
::SendMessage(_hTab, TCM_DELETEITEM, iItemOld, 0);
}
}
}
else if (inTab == FALSE)
{
if (hTabOld != _hTabSource)
{
::SendMessage(hTabOld, TCM_DELETEITEM, iItemOld, 0);
}
_iItem = -1;
}
/* insert new entry when mouse doesn't point to current hovered tab */
if ((_hTab != hTabOld) || (_iItem != iItemOld))
{
::SendMessage(_hTab, TCM_INSERTITEM, _iItem, (LPARAM)&_tcItem);
}
/* select the tab only in source tab window */
if ((_hTab == _hTabSource) && (_iItem != -1))
{
::SendMessage(_hTab, TCM_SETCURSEL, _iItem, 0);
}
#if 0
extern HWND g_hMainWnd;
char str[128];
sprintf(str, "Size: %i", vCont.size());
::SetWindowText(g_hMainWnd, str);
#endif
::UpdateWindow(_hParent);
}
void Gripper::drawRectangle(POINT pt)
{
HDC hdc = NULL;
HBITMAP hbm = NULL;
HBRUSH hbrush = NULL;
HANDLE hbrushOrig = NULL;
RECT rc = {0};
BOOL isRcTab = FALSE;
RECT rcTab = {0};
hdc = ::GetDC(NULL);
/* Determine whether to draw a solid drag rectangle or checkered */
getMovingRect(pt, &rc);
/* Create a brush with the appropriate bitmap pattern to draw our drag rectangle */
hbm = ::CreateBitmap(8, 8, 1, 1, DotPattern);
hbrush = ::CreatePatternBrush(hbm);
::SetBrushOrgEx(hdc, rc.left, rc.top, 0);
hbrushOrig = ::SelectObject(hdc, hbrush);
/* line: left */
::PatBlt(hdc, rc.left, rc.top, 3, rc.bottom - 3, PATINVERT);
/* line: top */
::PatBlt(hdc, rc.left + 3, rc.top, rc.right - 3, 3, PATINVERT);
/* line: right */
::PatBlt(hdc, rc.left + rc.right - 3, rc.top + 3, 3, rc.bottom - 3, PATINVERT);
/* line: bottom */
::PatBlt(hdc, rc.left, rc.top + rc.bottom - 3, rc.right - 3, 3, PATINVERT);
/* destroy resources */
::SelectObject(hdc, hbrushOrig);
::DeleteObject(hbrush);
::DeleteObject(hbm);
::ReleaseDC(0, hdc);
}
void Gripper::getMousePoints(POINT* pt, POINT* ptPrev)
{
*ptPrev = _ptOld;
_ptOld = *pt;
}
void Gripper::getMovingRect(POINT pt, RECT *rc)
{
RECT rcCorr = {0};
DockingCont* pContHit = NULL;
/* test if mouse hits a container */
pContHit = contHitTest(pt);
if (pContHit != NULL)
{
/* get rect of client */
::GetWindowRect(pContHit->getHSelf(), rc);
/* get rect for correction */
if (_pCont->isFloating() == TRUE)
rcCorr = _pCont->getDataOfActiveTb()->rcFloat;
else
_pCont->getClientRect(rcCorr);
ShrinkRcToSize(rc);
ShrinkRcToSize(&rcCorr);
/* correct rectangle position when mouse is not within */
DoCalcGripperRect(rc, rcCorr, pt);
}
else
{
/* test if mouse is within work area */
pContHit = workHitTest(pt, rc);
/* calcutlates the rect and its position */
if (pContHit == NULL)
{
/* calcutlates the rect and draws it */
if (!_pCont->isFloating())
*rc = _pCont->getDataOfActiveTb()->rcFloat;
else
_pCont->getWindowRect(*rc);
_pCont->getClientRect(rcCorr);
CalcRectToScreen(_dockData.hWnd, rc);
CalcRectToScreen(_dockData.hWnd, &rcCorr);
rc->left = pt.x - _ptOffset.x;
rc->top = pt.y - _ptOffset.y;
/* correct rectangle position when mouse is not within */
DoCalcGripperRect(rc, rcCorr, pt);
}
}
}
DockingCont* Gripper::contHitTest(POINT pt)
{
vector<DockingCont*> vCont = _pDockMgr->getContainerInfo();
HWND hWnd = ::WindowFromPoint(pt);
for (UINT iCont = 0; iCont < vCont.size(); iCont++)
{
/* test if within caption */
if (hWnd == vCont[iCont]->getCaptionWnd())
{
if (vCont[iCont]->isFloating())
{
RECT rc = {0};
vCont[iCont]->getWindowRect(rc);
if ((rc.top < pt.y) && (pt.y < (rc.top + 24)))
{
/* when it is the same container start moving immediately */
if (vCont[iCont] == _pCont)
{
return NULL;
}
else
{
return vCont[iCont];
}
}
}
else
{
return vCont[iCont];
}
}
/* test only tabs that are visible */
if (::IsWindowVisible(vCont[iCont]->getTabWnd()) == TRUE)
{
/* test if within tab (rect test is used, because of drag and drop behaviour) */
RECT rc = {0};
::GetWindowRect(vCont[iCont]->getTabWnd(), &rc);
if (::PtInRect(&rc, pt) == TRUE)
{
return vCont[iCont];
}
}
}
/* doesn't hit a container */
return NULL;
}
DockingCont* Gripper::workHitTest(POINT pt, RECT *rc)
{
RECT rcCont = {0};
vector<DockingCont*> vCont = _pDockMgr->getContainerInfo();
/* at first test if cursor points into a visible container */
for (size_t iCont = 0; iCont < vCont.size(); iCont++)
{
if (vCont[iCont]->isVisible())
{
vCont[iCont]->getWindowRect(rcCont);
if (::PtInRect(&rcCont, pt) == TRUE)
{
/* when it does, return with non found docking area */
return NULL;
}
}
}
/* now search if cusor hits a possible docking area */
for (int iWork = 0; iWork < DOCKCONT_MAX; iWork++)
{
if (!vCont[iWork]->isVisible())
{
rcCont = _dockData.rcRegion[iWork];
rcCont.right += rcCont.left;
rcCont.bottom += rcCont.top;
if (rc != NULL)
{
*rc = rcCont;
}
/* set fix hit test with */
switch(iWork)
{
case CONT_LEFT:
rcCont.right = rcCont.left + HIT_TEST_THICKNESS;
rcCont.left -= HIT_TEST_THICKNESS;
break;
case CONT_RIGHT:
rcCont.left = rcCont.right - HIT_TEST_THICKNESS;
rcCont.right += HIT_TEST_THICKNESS;
break;
case CONT_TOP:
rcCont.bottom = rcCont.top + HIT_TEST_THICKNESS;
rcCont.top -= HIT_TEST_THICKNESS;
break;
case CONT_BOTTOM:
rcCont.top = rcCont.bottom - HIT_TEST_THICKNESS;
rcCont.bottom += HIT_TEST_THICKNESS;
break;
default:
break;
}
ClientToScreen(_dockData.hWnd, &rcCont);
if (::PtInRect(&rcCont, pt) == TRUE)
{
if (rc != NULL)
{
ClientToScreen(_dockData.hWnd, rc);
rc->right -= rc->left;
rc->bottom -= rc->top;
}
return vCont[iWork];
}
}
}
/* no docking area found */
return NULL;
}
void Gripper::initTabInformation(POINT pt)
{
/* for tab reordering */
/* remember handle */
_hTabSource = _pCont->getTabWnd();
_startMovingFromTab = _pCont->startMovingFromTab();
if ((_startMovingFromTab == FALSE) && (::SendMessage(_hTabSource, TCM_GETITEMCOUNT, 0, 0) == 1))
{
_startMovingFromTab = TRUE;
_iItem = 0;
}
else
{
/* get active tab item */
_iItem = ::SendMessage(_hTabSource, TCM_GETCURSEL, 0, 0);
}
/* get size of item */
_hTab = _hTabSource;
::SendMessage(_hTabSource, TCM_GETITEMRECT, _iItem, (LPARAM)&_rcItem);
/* store item data */
static char szText[64];
_tcItem.mask = TCIF_PARAM | TCIF_TEXT;
_tcItem.pszText = szText;
_tcItem.cchTextMax = 64;
::SendMessage(_hTabSource, TCM_GETITEM, _iItem, (LPARAM)&_tcItem);
}

View File

@ -1,126 +0,0 @@
//this file is part of docking functionality for Notepad++
//Copyright (C)2006 Jens Lorenz <jens.plugin.npp@gmx.de>
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef GRIPPER_H
#define GRIPPER_H
#include "Resource.h"
#include "Docking.h"
#include "DockingCont.h"
#include "DockingManager.h"
#include "commctrl.h"
#include "sysmsg.h"
#include "common_func.h"
// Used by getRectAndStyle() to draw the drag rectangle
static const WORD DotPattern[] =
{
0x00aa, 0x0055, 0x00aa, 0x0055, 0x00aa, 0x0055, 0x00aa, 0x0055
};
#define MDLG_CLASS_NAME "moveDlg"
class Gripper
{
public:
Gripper();
void init(HINSTANCE hInst, HWND hParent) {
_hInst = hInst;
_hParent = hParent;
};
void startGrip(DockingCont* pCont, DockingManager* pDockMgr, void* pRes);
protected :
void create(void);
static LRESULT CALLBACK staticWinProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam);
LRESULT runProc(UINT Message, WPARAM wParam, LPARAM lParam);
void onMove(void);
void onButtonUp(void);
void doTabReordering(POINT pt);
void drawRectangle(POINT pt);
void getMousePoints(POINT* pt, POINT* ptPrev);
void getMovingRect(POINT pt, RECT *rc);
DockingCont* contHitTest(POINT pt);
DockingCont* workHitTest(POINT pt, RECT *rcCont = NULL);
void initTabInformation(POINT pt);
void CalcRectToScreen(HWND hWnd, RECT *rc) {
ClientToScreen(hWnd, rc);
ShrinkRcToSize(rc);
};
void CalcRectToClient(HWND hWnd, RECT *rc) {
ScreenToClient(hWnd, rc);
ShrinkRcToSize(rc);
};
void ShrinkRcToSize(RECT *rc) {
rc->right -= rc->left;
rc->bottom -= rc->top;
};
void DoCalcGripperRect(RECT* rc, RECT rcCorr, POINT pt) {
if ((rc->left + rc->right) < pt.x)
rc->left = pt.x - 20;
if ((rc->top + rc->bottom) < pt.y)
rc->top += rcCorr.bottom - rc->bottom;
};
private:
/* Handle */
HINSTANCE _hInst;
HWND _hParent;
HWND _hSelf;
/* data of container */
tDockMgr _dockData;
DockingManager* _pDockMgr;
DockingCont* _pCont;
/* mouse offset in moving rectangle */
POINT _ptOffset;
/* remembers old mouse point */
POINT _ptOld;
BOOL _bPtOldValid;
/* for sorting tabs */
HWND _hTab;
HWND _hTabSource;
BOOL _startMovingFromTab;
int _iItem;
RECT _rcItem;
TCITEM _tcItem;
/* resource pointer of THIS class */
void* _pRes;
/* is class registered */
static BOOL _isRegistered;
};
#endif // GRIPPER_H

View File

@ -1,36 +0,0 @@
#include "common_func.h"
void ClientToScreen(HWND hWnd, RECT* rect)
{
POINT pt;
pt.x = rect->left;
pt.y = rect->top;
::ClientToScreen( hWnd, &pt );
rect->left = pt.x;
rect->top = pt.y;
pt.x = rect->right;
pt.y = rect->bottom;
::ClientToScreen( hWnd, &pt );
rect->right = pt.x;
rect->bottom = pt.y;
};
void ScreenToClient(HWND hWnd, RECT* rect)
{
POINT pt;
pt.x = rect->left;
pt.y = rect->top;
::ScreenToClient( hWnd, &pt );
rect->left = pt.x;
rect->top = pt.y;
pt.x = rect->right;
pt.y = rect->bottom;
::ScreenToClient( hWnd, &pt );
rect->right = pt.x;
rect->bottom = pt.y;
};

View File

@ -1,9 +0,0 @@
#ifndef COMMON_FUNC_H
#define COMMON_FUNC_H
#include "windows.h"
void ClientToScreen(HWND hWnd, RECT* rect);
void ScreenToClient(HWND hWnd, RECT* rect);
#endif //COMMON_FUNC_H

File diff suppressed because it is too large Load Diff

View File

@ -1,225 +0,0 @@
/*
this file is part of notepad++
Copyright (C)2003 Don HO < donho@altern.org >
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <windows.h>
#include "preference_rc.h"
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
IDD_PREFERENCE_BOX DIALOGEX 0, 0, 325, 206
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
CAPTION "Preferences"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "Close",IDC_BUTTON_CLOSE,146,186,45,14
END
IDD_PREFERENCE_BAR_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Tool bar",IDC_TOOLBAR_GB_STATIC,11,5,131,68,BS_CENTER
CONTROL "Hide",IDC_RADIO_HIDE,"Button",BS_AUTORADIOBUTTON,18,15,94,10
CONTROL "Small icons",IDC_RADIO_SMALLICON,"Button",BS_AUTORADIOBUTTON,18,29,114,10
CONTROL "Big icons",IDC_RADIO_BIGICON,"Button",BS_AUTORADIOBUTTON,18,43,109,10
CONTROL "Small standard icons",IDC_RADIO_STANDARD,"Button",BS_AUTORADIOBUTTON,18,57,119,10
GROUPBOX "Tab bar",IDC_TABBAR_GB_STATIC,149,5,146,102,BS_CENTER
CONTROL "Reduce",IDC_CHECK_REDUCE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,155,14,108,10
CONTROL "Lock (No Drag N Drop)",IDC_CHECK_LOCK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,155,29,134,10
CONTROL "Draw the inactive tabs",IDC_CHECK_DRAWINACTIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,155,44,134,10
CONTROL "Draw the orange top bar",IDC_CHECK_ORANGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,155,59,133,10
CONTROL "Enable close button on each tab", IDC_CHECK_ENABLETABCLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,155,74,133,10
CONTROL "Double click to close document",IDC_CHECK_DBCLICK2CLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,155,89,133,10
CONTROL "Show Status Bar",IDC_CHECK_SHOWSTATUSBAR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,80,130,10
CONTROL "Auto-indent",IDC_CHECK_MAINTAININDENT,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,12,95,130,10
CONTROL "Remember the last operation directory",IDC_CHECK_KEEPINSAMEDIR,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,12,110,210,10
CONTROL "Enable document switcher (Ctrl+Tab)",IDC_CHECK_ENABLEDOCSWITCHER,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,12,125,180,10
CONTROL "Enable MRU behaviour for document switcher",IDC_CHECK_STYLEMRU,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,23,140,210,10
END
IDD_PREFERENCE_MARGEIN_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Folder margin style",IDC_FMS_GB_STATIC,18,21,105,77, BS_CENTER
CONTROL "Simple",IDC_RADIO_SIMPLE,"Button", BS_AUTORADIOBUTTON | WS_GROUP,27,33,59,10
CONTROL "Arrow",IDC_RADIO_ARROW,"Button", BS_AUTORADIOBUTTON, 27, 49, 60, 10
CONTROL "Circle tree",IDC_RADIO_CIRCLE, "Button", BS_AUTORADIOBUTTON, 27, 65, 62, 10
CONTROL "Box tree", IDC_RADIO_BOX, "Button", BS_AUTORADIOBUTTON, 27, 81, 61, 10
CONTROL "Display line number margin", IDC_CHECK_LINENUMBERMARGE, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 13, 107, 141, 10
CONTROL "Display bookmark margin",IDC_CHECK_BOOKMARKMARGE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,122,150,10
CONTROL "Show vertical edge",IDC_CHECK_SHOWVERTICALEDGE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,149,33,122,10
RTEXT "Number of columns :",IDC_NBCOLONE_STATIC,144,81,83,8
LTEXT "0",IDC_COLONENUMBER_STATIC,235,81,18,8
GROUPBOX "Vertical Edge Setting",IDC_VES_GB_STATIC,138,21,148,77,
BS_CENTER
CONTROL "Line mode",IDC_RADIO_LNMODE,"Button",BS_AUTORADIOBUTTON,
152,49,91,10
CONTROL "Background mode",IDC_RADIO_BGMODE,"Button",
BS_AUTORADIOBUTTON,152,64,91,10
CONTROL "Active current line highlight",IDC_CHECK_CURRENTLINEHILITE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,165,107,129,10
GROUPBOX "",IDC_STATIC,6,6,293,136
COMBOBOX IDC_COMBO_SCINTILLAVIEWCHOIX,98,3,96,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END
IDD_PREFERENCE_SETTING_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Tab Setting",IDC_TABSETTING_GB_STATIC,11,4,119,44,BS_CENTER
CONTROL "Replace by space",IDC_CHECK_REPLACEBYSPACE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,31,100,10
RTEXT "Tab size : ",IDC_TABSIZE_STATIC,16,18,58,8
LTEXT "0",IDC_TABSIZEVAL_STATIC,76,18,18,8
GROUPBOX "History File Setting",IDC_HISTORY_GB_STATIC,144,4,150,44,BS_CENTER
CONTROL "Don't check at launch time",IDC_CHECK_DONTCHECKHISTORY,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,152,31,133,10
RTEXT "Max number history file :",IDC_MAXNBFILE_STATIC,147,18,112,8
LTEXT "0",IDC_MAXNBFILEVAL_STATIC,266,18,15,8
CONTROL "Enable",IDC_CHECK_FILEAUTODETECTION,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,65,98,10
CONTROL "Minimize to sys tray",IDC_CHECK_MIN2SYSTRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,144,101,130,10
CONTROL "Remember the current session for next launch",IDC_CHECK_REMEMBERSESSION,
"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,144,111,160,23
GROUPBOX "File Status Auto-detection",IDC_FILEAUTODETECTION_STATIC,11,54,120,39,BS_CENTER
CONTROL "Update silently",IDC_CHECK_UPDATESILENTLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,78,98,10
GROUPBOX "Backup Option",IDC_BACKUP_GB_STATIC,11,98,120,46,BS_CENTER
CONTROL "None",IDC_RADIO_BKNONE,"Button",BS_AUTORADIOBUTTON,18,107,87,10
CONTROL "Simple Backup",IDC_RADIO_BKSIMPLE,"Button",BS_AUTORADIOBUTTON,18,119,111,10
CONTROL "Verbose Backup",IDC_RADIO_BKVERBOSE,"Button",BS_AUTORADIOBUTTON,18,131,111,10
CONTROL "Enable",IDC_CHECK__CLICKABLELINK_ENABLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,65,98,10
GROUPBOX "Clickable link setting",IDC_CLICKABLELINK_STATIC,144,54,150,39,BS_CENTER
CONTROL "Don't draw underline",IDC_CHECK__CLICKABLELINK_NOUNDERLINE, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,78,119,10
END
IDD_PREFERENCE_NEWDOCSETTING_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Format",IDC_FORMAT_GB_STATIC,28,9,95,83,BS_CENTER
CONTROL "Windows",IDC_RADIO_F_WIN,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,35,27,63,10
CONTROL "Unix",IDC_RADIO_F_UNIX,"Button",BS_AUTORADIOBUTTON,35,
45,56,10
CONTROL "Mac",IDC_RADIO_F_MAC,"Button",BS_AUTORADIOBUTTON,35,63,
60,10
GROUPBOX "Encoding",IDC_ENCODING_STATIC,146,10,140,83,BS_CENTER
CONTROL "ANSI",IDC_RADIO_ANSI,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,153,21,80,10
CONTROL "UTF-8 without BOM",IDC_RADIO_UTF8SANSBOM,"Button",
BS_AUTORADIOBUTTON,153,35,128,10
CONTROL "UTF-8",IDC_RADIO_UTF8,"Button",BS_AUTORADIOBUTTON,153,
49,62,10
CONTROL "UCS2 big endian",IDC_RADIO_UCS2BIG,"Button",
BS_AUTORADIOBUTTON,153,63,103,10
CONTROL "UCS2 small endian",IDC_RADIO_UCS2SMALL,"Button",
BS_AUTORADIOBUTTON,153,77,102,10
RTEXT "Default Language :",IDC_DEFAULTLANG_STATIC,16,110,80,8
COMBOBOX IDC_COMBO_DEFAULTLANG,100,108,72,140,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
END
IDD_PREFERENCE_LANG_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LISTBOX IDC_LIST_ENABLEDLANG,54,21,78,117,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
LISTBOX IDC_LIST_DISABLEDLANG,200,21,78,117,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "->",IDC_BUTTON_REMOVE,141,53,50,14
PUSHBUTTON "<-",IDC_BUTTON_RESTORE,142,84,50,14
CTEXT "Available items",IDC_ENABLEDITEMS_STATIC,57,8,72,8
CTEXT "Disabled items",IDC_DISABLEDITEMS_STATIC,203,8,72,8
END
IDD_PREFERENCE_PRINT_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
CONTROL "WYSIWYG",IDC_RADIO_WYSIWYG,"Button",BS_AUTORADIOBUTTON,
16,52,123,10
CONTROL "Invert",IDC_RADIO_INVERT,"Button",BS_AUTORADIOBUTTON,16,
67,90,10
CONTROL "Black on white",IDC_RADIO_BW,"Button",
BS_AUTORADIOBUTTON,16,82,90,10
CONTROL "No background colour",IDC_RADIO_NOBG,"Button",
BS_AUTORADIOBUTTON,16,98,123,10
GROUPBOX "Colour Option",IDC_COLOUROPT_STATIC,11,32,133,96,
BS_CENTER
CONTROL "Print Line Number",IDC_CHECK_PRINTLINENUM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,12,17,145,10
EDITTEXT IDC_EDIT_ML,194,75,17,14,ES_NUMBER
EDITTEXT IDC_EDIT_MT,215,56,17,14,ES_NUMBER
EDITTEXT IDC_EDIT_MR,235,75,17,14,ES_NUMBER
EDITTEXT IDC_EDIT_MB,215,96,17,14,ES_NUMBER
RTEXT "Left",IDC_ML_STATIC,161,78,30,8
CTEXT "Top",IDC_MT_STATIC,197,46,54,8
LTEXT "Right",IDC_MR_STATIC,257,78,29,8
CTEXT "Bottom",IDC_MB_STATIC,197,111,54,8
GROUPBOX "Marge Setting (Unit:mm)",IDC_MARGESETTINGS_STATIC,153,
32,144,96,BS_CENTER
END
IDD_PREFERENCE_PRINT2_BOX DIALOGEX 0, 0, 305, 147
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
EDITTEXT IDC_EDIT_HLEFT,23,36,83,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_HMIDDLE,113,36,83,14,ES_CENTER | ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_HRIGHT,203,36,83,14,ES_RIGHT | ES_AUTOHSCROLL
COMBOBOX IDC_COMBO_HFONTNAME,23,54,84,104,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_HFONTSIZE,113,54,31,72,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL "Bold",IDC_CHECK_HBOLD,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,153,54,46,10
CONTROL "Italic",IDC_CHECK_HITALIC,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,213,54,43,10
GROUPBOX "Header",IDC_HGB_STATIC,15,17,279,56,BS_CENTER
CTEXT "Left part",IDC_HL_STATIC,25,27,79,8
CTEXT "Middle part",IDC_HM_STATIC,117,27,75,8
CTEXT "Right part",IDC_HR_STATIC,205,27,78,8
EDITTEXT IDC_EDIT_FLEFT,23,94,83,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_FMIDDLE,114,94,83,14,ES_CENTER | ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_FRIGHT,203,94,83,14,ES_RIGHT | ES_AUTOHSCROLL
COMBOBOX IDC_COMBO_FFONTNAME,23,112,84,119,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_FFONTSIZE,115,112,31,71,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL "Bold",IDC_CHECK_FBOLD,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,154,114,46,10
CONTROL "Italic",IDC_CHECK_FITALIC,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,213,114,47,10
GROUPBOX "Footer",IDC_FGB_STATIC,15,75,279,58,BS_CENTER
CTEXT "Left part",IDC_FL_STATIC,25,85,78,8
CTEXT "Middle part",IDC_FM_STATIC,114,85,82,8
CTEXT "Right part",IDC_FR_STATIC,205,85,79,8
COMBOBOX IDC_COMBO_VARLIST,77,2,70,58,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Add",IDC_BUTTON_ADDVAR,155,2,44,12
RTEXT "Variable :",IDC_VAR_STATIC,16,4,59,8
RTEXT "Which part :",IDC_WHICHPART_STATIC,2,137,80,8
LTEXT "",IDC_VIEWPANEL_STATIC,85,137,213,8
END

File diff suppressed because it is too large Load Diff

View File

@ -1,171 +0,0 @@
/*
this file is part of notepad++
Copyright (C)2003 Don HO < donho@altern.org >
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef PREFERENCE_DLG_H
#define PREFERENCE_DLG_H
#include "Window.h"
#include "StaticDialog.h"
#include "ControlsTab.h"
#include "preference_rc.h"
#include "URLCtrl.h"
#include "Parameters.h"
#include "regExtDlg.h"
#include "WordStyleDlg.h"
class SettingsDlg : public StaticDialog
{
public :
SettingsDlg() {};
virtual void destroy() {
_tabSizeVal.destroy();
_nbHistoryVal.destroy();
};
private :
URLCtrl _tabSizeVal;
URLCtrl _nbHistoryVal;
bool isCheckedOrNot(int checkControlID) const {
return (BST_CHECKED == ::SendMessage(::GetDlgItem(_hSelf, checkControlID), BM_GETCHECK, 0, 0));
};
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
};
class BarsDlg : public StaticDialog
{
public :
BarsDlg() {};
private :
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
};
class MarginsDlg : public StaticDialog
{
public :
MarginsDlg() {};
virtual void destroy() {
_verticalEdgeLineNbColVal.destroy();
};
private :
URLCtrl _verticalEdgeLineNbColVal;
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
void changePanelTo(int index);
};
struct LangID_Name
{
LangType _id;
string _name;
LangID_Name(LangType id, string name) : _id(id), _name(name){};
};
class DefaultNewDocDlg : public StaticDialog
{
public :
DefaultNewDocDlg() {};
private :
std::vector<LangID_Name> _langList;
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
};
class LangMenuDlg : public StaticDialog
{
public :
LangMenuDlg() {};
private :
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
vector<LangMenuItem> _langList;
};
class PrintSettingsDlg : public StaticDialog
{
public :
PrintSettingsDlg() {};
private :
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
};
struct strCouple {
string _varDesc;
string _var;
strCouple(char *varDesc, char *var): _varDesc(varDesc), _var(var){};
};
class PrintSettings2Dlg : public StaticDialog
{
public :
PrintSettings2Dlg():_focusedEditCtrl(0), _selStart(0), _selEnd(0){};
private :
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
vector<strCouple> varList;
int _focusedEditCtrl;
DWORD _selStart;
DWORD _selEnd;
//ColourStaticTextHooker _colourHooker;
};
class PreferenceDlg : public StaticDialog
{
friend class Notepad_plus;
public :
PreferenceDlg(){};
void init(HINSTANCE hInst, HWND parent) {
Window::init(hInst, parent);
};
void doDialog(bool isRTL = false) {
if (!isCreated())
{
create(IDD_PREFERENCE_BOX, isRTL);
goToCenter();
}
display();
};
virtual void destroy() {
_ctrlTab.destroy();
_barsDlg.destroy();
_marginsDlg.destroy();
_settingsDlg.destroy();
_fileAssocDlg.destroy();
_langMenuDlg.destroy();
_printSettingsDlg.destroy();
_printSettings2Dlg.destroy();
_defaultNewDocDlg.destroy();
};
private :
BOOL CALLBACK run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam);
ControlsTab _ctrlTab;
WindowVector _wVector;
BarsDlg _barsDlg;
MarginsDlg _marginsDlg;
SettingsDlg _settingsDlg;
RegExtDlg _fileAssocDlg;
LangMenuDlg _langMenuDlg;
PrintSettingsDlg _printSettingsDlg;
PrintSettings2Dlg _printSettings2Dlg;
DefaultNewDocDlg _defaultNewDocDlg;
};
#endif //PREFERENCE_DLG_H

View File

@ -1,152 +0,0 @@
/*
this file is part of notepad++
Copyright (C)2003 Don HO ( donho@altern.org )
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define IDD_PREFERENCE_BOX 6000
#define IDC_BUTTON_CLOSE (IDD_PREFERENCE_BOX + 1)
#define IDD_PREFERENCE_BAR_BOX 6100 //(IDD_PREFERENCE_BOX + 100)
#define IDC_TOOLBAR_GB_STATIC (IDD_PREFERENCE_BAR_BOX + 1)
#define IDC_RADIO_HIDE (IDD_PREFERENCE_BAR_BOX + 2)
#define IDC_RADIO_SMALLICON (IDD_PREFERENCE_BAR_BOX + 3)
#define IDC_RADIO_BIGICON (IDD_PREFERENCE_BAR_BOX + 4)
#define IDC_RADIO_STANDARD (IDD_PREFERENCE_BAR_BOX + 5)
#define IDC_TABBAR_GB_STATIC (IDD_PREFERENCE_BAR_BOX + 6)
#define IDC_CHECK_REDUCE (IDD_PREFERENCE_BAR_BOX + 7)
#define IDC_CHECK_LOCK (IDD_PREFERENCE_BAR_BOX + 8)
#define IDC_CHECK_DRAWINACTIVE (IDD_PREFERENCE_BAR_BOX + 9)
#define IDC_CHECK_ORANGE (IDD_PREFERENCE_BAR_BOX + 10)
#define IDC_CHECK_SHOWSTATUSBAR (IDD_PREFERENCE_BAR_BOX + 11)
#define IDC_CHECK_ENABLETABCLOSE (IDD_PREFERENCE_BAR_BOX + 12)
#define IDC_CHECK_DBCLICK2CLOSE (IDD_PREFERENCE_BAR_BOX + 13)
#define IDC_CHECK_ENABLEDOCSWITCHER (IDD_PREFERENCE_BAR_BOX + 14)
#define IDC_CHECK_MAINTAININDENT (IDD_PREFERENCE_BAR_BOX + 15)
#define IDC_CHECK_KEEPINSAMEDIR (IDD_PREFERENCE_BAR_BOX + 16)
#define IDC_CHECK_STYLEMRU (IDD_PREFERENCE_BAR_BOX + 17)
#define IDD_PREFERENCE_MARGEIN_BOX 6200 //(IDD_PREFERENCE_BOX + 200)
#define IDC_FMS_GB_STATIC (IDD_PREFERENCE_MARGEIN_BOX + 1)
#define IDC_RADIO_SIMPLE (IDD_PREFERENCE_MARGEIN_BOX + 2)
#define IDC_RADIO_ARROW (IDD_PREFERENCE_MARGEIN_BOX + 3)
#define IDC_RADIO_CIRCLE (IDD_PREFERENCE_MARGEIN_BOX + 4)
#define IDC_RADIO_BOX (IDD_PREFERENCE_MARGEIN_BOX + 5)
#define IDC_CHECK_LINENUMBERMARGE (IDD_PREFERENCE_MARGEIN_BOX + 6)
#define IDC_CHECK_BOOKMARKMARGE (IDD_PREFERENCE_MARGEIN_BOX + 7)
#define IDC_CHECK_SHOWVERTICALEDGE (IDD_PREFERENCE_MARGEIN_BOX + 8)
#define IDC_NBCOLONE_STATIC (IDD_PREFERENCE_MARGEIN_BOX + 9)
#define IDC_COLONENUMBER_STATIC (IDD_PREFERENCE_MARGEIN_BOX + 10)
#define IDC_VES_GB_STATIC (IDD_PREFERENCE_MARGEIN_BOX + 11)
#define IDC_RADIO_LNMODE (IDD_PREFERENCE_MARGEIN_BOX + 12)
#define IDC_RADIO_BGMODE (IDD_PREFERENCE_MARGEIN_BOX + 13)
#define IDC_CHECK_CURRENTLINEHILITE (IDD_PREFERENCE_MARGEIN_BOX + 14)
#define IDC_COMBO_SCINTILLAVIEWCHOIX (IDD_PREFERENCE_MARGEIN_BOX + 15)
#define IDD_PREFERENCE_SETTING_BOX 6300 //(IDD_PREFERENCE_BOX + 300)
#define IDC_TABSETTING_GB_STATIC (IDD_PREFERENCE_SETTING_BOX + 1)
#define IDC_CHECK_REPLACEBYSPACE (IDD_PREFERENCE_SETTING_BOX + 2)
#define IDC_TABSIZE_STATIC (IDD_PREFERENCE_SETTING_BOX + 3)
#define IDC_HISTORY_GB_STATIC (IDD_PREFERENCE_SETTING_BOX + 4)
#define IDC_CHECK_DONTCHECKHISTORY (IDD_PREFERENCE_SETTING_BOX + 5)
#define IDC_MAXNBFILE_STATIC (IDD_PREFERENCE_SETTING_BOX + 6)
#define IDC_CHECK_FILEAUTODETECTION (IDD_PREFERENCE_SETTING_BOX + 7)
#define IDC_CHECK_MIN2SYSTRAY (IDD_PREFERENCE_SETTING_BOX + 8)
#define IDC_CHECK_REMEMBERSESSION (IDD_PREFERENCE_SETTING_BOX + 9)
#define IDC_TABSIZEVAL_STATIC (IDD_PREFERENCE_SETTING_BOX + 10)
#define IDC_MAXNBFILEVAL_STATIC (IDD_PREFERENCE_SETTING_BOX + 11)
#define IDC_FILEAUTODETECTION_STATIC (IDD_PREFERENCE_SETTING_BOX + 12)
#define IDC_CHECK_UPDATESILENTLY (IDD_PREFERENCE_SETTING_BOX + 13)
#define IDC_BACKUP_GB_STATIC (IDD_PREFERENCE_SETTING_BOX + 14)
#define IDC_RADIO_BKNONE (IDD_PREFERENCE_SETTING_BOX + 15)
#define IDC_RADIO_BKSIMPLE (IDD_PREFERENCE_SETTING_BOX + 16)
#define IDC_RADIO_BKVERBOSE (IDD_PREFERENCE_SETTING_BOX + 17)
#define IDC_CLICKABLELINK_STATIC (IDD_PREFERENCE_SETTING_BOX + 18)
#define IDC_CHECK__CLICKABLELINK_ENABLE (IDD_PREFERENCE_SETTING_BOX + 19)
#define IDC_CHECK__CLICKABLELINK_NOUNDERLINE (IDD_PREFERENCE_SETTING_BOX + 20)
#define IDD_PREFERENCE_NEWDOCSETTING_BOX 6400 //(IDD_PREFERENCE_BOX + 400)
#define IDC_FORMAT_GB_STATIC (IDD_PREFERENCE_NEWDOCSETTING_BOX + 1)
#define IDC_RADIO_F_WIN (IDD_PREFERENCE_NEWDOCSETTING_BOX + 2)
#define IDC_RADIO_F_UNIX (IDD_PREFERENCE_NEWDOCSETTING_BOX + 3)
#define IDC_RADIO_F_MAC (IDD_PREFERENCE_NEWDOCSETTING_BOX + 4)
#define IDC_ENCODING_STATIC (IDD_PREFERENCE_NEWDOCSETTING_BOX + 5)
#define IDC_RADIO_ANSI (IDD_PREFERENCE_NEWDOCSETTING_BOX + 6)
#define IDC_RADIO_UTF8SANSBOM (IDD_PREFERENCE_NEWDOCSETTING_BOX + 7)
#define IDC_RADIO_UTF8 (IDD_PREFERENCE_NEWDOCSETTING_BOX + 8)
#define IDC_RADIO_UCS2BIG (IDD_PREFERENCE_NEWDOCSETTING_BOX + 9)
#define IDC_RADIO_UCS2SMALL (IDD_PREFERENCE_NEWDOCSETTING_BOX + 10)
#define IDC_DEFAULTLANG_STATIC (IDD_PREFERENCE_NEWDOCSETTING_BOX + 11)
#define IDC_COMBO_DEFAULTLANG (IDD_PREFERENCE_NEWDOCSETTING_BOX + 12)
#define IDD_PREFERENCE_LANG_BOX 6500 //(IDD_PREFERENCE_BOX + 500)
#define IDC_LIST_ENABLEDLANG (IDD_PREFERENCE_LANG_BOX + 1)
#define IDC_LIST_DISABLEDLANG (IDD_PREFERENCE_LANG_BOX + 2)
#define IDC_BUTTON_REMOVE (IDD_PREFERENCE_LANG_BOX + 3)
#define IDC_BUTTON_RESTORE (IDD_PREFERENCE_LANG_BOX + 4)
#define IDC_ENABLEDITEMS_STATIC (IDD_PREFERENCE_LANG_BOX + 5)
#define IDC_DISABLEDITEMS_STATIC (IDD_PREFERENCE_LANG_BOX + 6)
#define IDD_PREFERENCE_PRINT_BOX 6600 //(IDD_PREFERENCE_BOX + 600)
#define IDC_CHECK_PRINTLINENUM (IDD_PREFERENCE_PRINT_BOX + 1)
#define IDC_COLOUROPT_STATIC (IDD_PREFERENCE_PRINT_BOX + 2)
#define IDC_RADIO_WYSIWYG (IDD_PREFERENCE_PRINT_BOX + 3)
#define IDC_RADIO_INVERT (IDD_PREFERENCE_PRINT_BOX + 4)
#define IDC_RADIO_BW (IDD_PREFERENCE_PRINT_BOX + 5)
#define IDC_RADIO_NOBG (IDD_PREFERENCE_PRINT_BOX + 6)
#define IDC_MARGESETTINGS_STATIC (IDD_PREFERENCE_PRINT_BOX + 7)
#define IDC_EDIT_ML (IDD_PREFERENCE_PRINT_BOX + 8)
#define IDC_EDIT_MT (IDD_PREFERENCE_PRINT_BOX + 9)
#define IDC_EDIT_MR (IDD_PREFERENCE_PRINT_BOX + 10)
#define IDC_EDIT_MB (IDD_PREFERENCE_PRINT_BOX + 11)
#define IDC_ML_STATIC (IDD_PREFERENCE_PRINT_BOX + 12)
#define IDC_MT_STATIC (IDD_PREFERENCE_PRINT_BOX + 13)
#define IDC_MR_STATIC (IDD_PREFERENCE_PRINT_BOX + 14)
#define IDC_MB_STATIC (IDD_PREFERENCE_PRINT_BOX + 15)
#define IDD_PREFERENCE_PRINT2_BOX 6700 //(IDD_PREFERENCE_BOX + 700)
#define IDC_EDIT_HLEFT (IDD_PREFERENCE_PRINT2_BOX + 1)
#define IDC_EDIT_HMIDDLE (IDD_PREFERENCE_PRINT2_BOX + 2)
#define IDC_EDIT_HRIGHT (IDD_PREFERENCE_PRINT2_BOX + 3)
#define IDC_COMBO_HFONTNAME (IDD_PREFERENCE_PRINT2_BOX + 4)
#define IDC_COMBO_HFONTSIZE (IDD_PREFERENCE_PRINT2_BOX + 5)
#define IDC_CHECK_HBOLD (IDD_PREFERENCE_PRINT2_BOX + 6)
#define IDC_CHECK_HITALIC (IDD_PREFERENCE_PRINT2_BOX + 7)
#define IDC_HGB_STATIC (IDD_PREFERENCE_PRINT2_BOX + 8)
#define IDC_HL_STATIC (IDD_PREFERENCE_PRINT2_BOX + 9)
#define IDC_HM_STATIC (IDD_PREFERENCE_PRINT2_BOX + 10)
#define IDC_HR_STATIC (IDD_PREFERENCE_PRINT2_BOX + 11)
#define IDC_EDIT_FLEFT (IDD_PREFERENCE_PRINT2_BOX + 12)
#define IDC_EDIT_FMIDDLE (IDD_PREFERENCE_PRINT2_BOX + 13)
#define IDC_EDIT_FRIGHT (IDD_PREFERENCE_PRINT2_BOX + 14)
#define IDC_COMBO_FFONTNAME (IDD_PREFERENCE_PRINT2_BOX + 15)
#define IDC_COMBO_FFONTSIZE (IDD_PREFERENCE_PRINT2_BOX + 16)
#define IDC_CHECK_FBOLD (IDD_PREFERENCE_PRINT2_BOX + 17)
#define IDC_CHECK_FITALIC (IDD_PREFERENCE_PRINT2_BOX + 18)
#define IDC_FGB_STATIC (IDD_PREFERENCE_PRINT2_BOX + 19)
#define IDC_FL_STATIC (IDD_PREFERENCE_PRINT2_BOX + 20)
#define IDC_FM_STATIC (IDD_PREFERENCE_PRINT2_BOX + 21)
#define IDC_FR_STATIC (IDD_PREFERENCE_PRINT2_BOX + 22)
#define IDC_BUTTON_ADDVAR (IDD_PREFERENCE_PRINT2_BOX + 23)
#define IDC_COMBO_VARLIST (IDD_PREFERENCE_PRINT2_BOX + 24)
#define IDC_VAR_STATIC (IDD_PREFERENCE_PRINT2_BOX + 25)
#define IDC_VIEWPANEL_STATIC (IDD_PREFERENCE_PRINT2_BOX + 26)
#define IDC_WHICHPART_STATIC (IDD_PREFERENCE_PRINT2_BOX + 27)

View File

@ -1,612 +0,0 @@
//this file is part of notepad++
//Copyright (C)2003 Don HO ( donho@altern.org )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "TabBar.h"
#include "SysMsg.h"
const COLORREF blue = RGB(0, 0, 0xFF);
const COLORREF black = RGB(0, 0, 0);
const COLORREF white = RGB(0xFF, 0xFF, 0xFF);
const COLORREF grey = RGB(128, 128, 128);
#define IDC_DRAG_TAB 1404
#define IDC_DRAG_INTERDIT_TAB 1405
#define IDC_DRAG_PLUS_TAB 1406
bool TabBarPlus::_doDragNDrop = false;
bool TabBarPlus::_drawTopBar = true;
bool TabBarPlus::_drawInactiveTab = true;
bool TabBarPlus::_drawTabCloseButton = false;
bool TabBarPlus::_isDbClk2Close = false;
HWND TabBar::_hwndArray[nbCtrlMax] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
int TabBar::_nbCtrl = 0;
void TabBar::init(HINSTANCE hInst, HWND parent, bool isVertical, bool isTraditional, bool isMultiLine)
{
Window::init(hInst, parent);
int vertical = isVertical?(TCS_VERTICAL | TCS_MULTILINE | TCS_RIGHTJUSTIFY):0;
_isTraditional = isTraditional;
INITCOMMONCONTROLSEX icce;
icce.dwSize = sizeof(icce);
icce.dwICC = ICC_TAB_CLASSES;
InitCommonControlsEx(&icce);
int multiLine = isMultiLine?(_isTraditional?TCS_MULTILINE:0):0;
int style = WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE |\
WS_BORDER |TCS_FOCUSNEVER | TCS_TABS | vertical | multiLine;
_hSelf = ::CreateWindowEx(
TCS_EX_FLATSEPARATORS ,
WC_TABCONTROL,
"Tab",
style,
0, 0, 0, 0,
_hParent,
NULL,
_hInst,
0);
if (!_hSelf)
{
systemMessage("System Err");
throw int(69);
}
if (!_isTraditional)
{
if (!_hwndArray[_nbCtrl])
{
_hwndArray[_nbCtrl] = _hSelf;
_ctrlID = _nbCtrl;
}
else
{
int i = 0;
bool found = false;
for ( ; i < nbCtrlMax && !found ; i++)
if (!_hwndArray[i])
found = true;
if (!found)
{
_ctrlID = -1;
::MessageBox(NULL, "The nb of Tab Control is over its limit", "Tab Control err", MB_OK);
destroy();
throw int(96);
}
_hwndArray[i] = _hSelf;
_ctrlID = i;
}
_nbCtrl++;
}
}
int TabBar::insertAtEnd(char *subTabName)
{
TCITEM tie;
tie.mask = TCIF_TEXT | TCIF_IMAGE;
int index = -1;
if (_hasImgLst)
index = 0;
tie.iImage = index;
tie.pszText = subTabName;
return int(::SendMessage(_hSelf, TCM_INSERTITEM, _nbItem++, reinterpret_cast<LPARAM>(&tie)));
}
void TabBar::reSizeTo(RECT & rc2Ajust)
{
// Important to do that!
// Otherwise, the window(s) it contains will take all the resouce of CPU
// We don't need to resiz the contained windows if they are even invisible anyway!
display(rc2Ajust.right > 10);
RECT rc = rc2Ajust;
Window::reSizeTo(rc);
TabCtrl_AdjustRect(_hSelf, FALSE, &rc2Ajust);
}
void TabBarPlus::init(HINSTANCE hInst, HWND parent, bool isVertical, bool isTraditional, bool isMultiLine)
{
Window::init(hInst, parent);
int vertical = isVertical?(TCS_VERTICAL | TCS_MULTILINE | TCS_RIGHTJUSTIFY):0;
_isTraditional = isTraditional;
INITCOMMONCONTROLSEX icce;
icce.dwSize = sizeof(icce);
icce.dwICC = ICC_TAB_CLASSES;
InitCommonControlsEx(&icce);
int multiLine = isMultiLine?(_isTraditional?TCS_MULTILINE:0):0;
int style = WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE |\
WS_BORDER |TCS_FOCUSNEVER | TCS_TABS | vertical | multiLine;
//if (isOwnerDrawTab() && (!_isTraditional))
{
style |= TCS_OWNERDRAWFIXED;
//printStr("ownerDraw");
}
_hSelf = ::CreateWindowEx(
TCS_EX_FLATSEPARATORS ,
WC_TABCONTROL,
"Tab",
style,
0, 0, 0, 0,
_hParent,
NULL,
_hInst,
0);
if (!_hSelf)
{
systemMessage("System Err");
throw int(69);
}
if (!_isTraditional)
{
if (!_hwndArray[_nbCtrl])
{
_hwndArray[_nbCtrl] = _hSelf;
_ctrlID = _nbCtrl;
}
else
{
int i = 0;
bool found = false;
for ( ; i < nbCtrlMax && !found ; i++)
if (!_hwndArray[i])
found = true;
if (!found)
{
_ctrlID = -1;
::MessageBox(NULL, "The nb of Tab Control is over its limit", "Tab Control err", MB_OK);
destroy();
throw int(96);
}
_hwndArray[i] = _hSelf;
_ctrlID = i;
}
_nbCtrl++;
::SetWindowLong(_hSelf, GWL_USERDATA, reinterpret_cast<LONG>(this));
_tabBarDefaultProc = reinterpret_cast<WNDPROC>(::SetWindowLong(_hSelf, GWL_WNDPROC, reinterpret_cast<LONG>(TabBarPlus_Proc)));
}
if (vertical)
{
_hFont = ::CreateFont( 14, 0, 0, 0,
FW_NORMAL,
0, 0, 0, 0,
0, 0, 0, 0,
"Comic Sans MS");
if (_hFont)
::SendMessage(_hSelf, WM_SETFONT, reinterpret_cast<WPARAM>(_hFont), 0);
}
/*
if (isOwnerDrawTab() && (!_isTraditional))
::SendMessage(_hSelf, TCM_SETPADDING, 0, MAKELPARAM(6, 5));
*/
}
LRESULT TabBarPlus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
switch (Message)
{
case WM_LBUTTONDOWN :
{
if (_drawTabCloseButton)
{
int xPos = LOWORD(lParam);
int yPos = HIWORD(lParam);
if (_closeButtonZone.isHit(xPos, yPos, _currentHoverTabRect))
{
_whichCloseClickDown = getTabIndexAt(xPos, yPos);
::SendMessage(_hParent, WM_COMMAND, IDM_VIEW_REFRESHTABAR, 0);
return TRUE;
}
}
::CallWindowProc(_tabBarDefaultProc, hwnd, Message, wParam, lParam);
if (wParam == 2)
return TRUE;
if (_doDragNDrop)
{
_nSrcTab = _nTabDragged = ::SendMessage(_hSelf, TCM_GETCURSEL, 0, 0);
POINT point;
point.x = LOWORD(lParam);
point.y = HIWORD(lParam);
if(::DragDetect(hwnd, point))
{
// Yes, we're beginning to drag, so capture the mouse...
_isDragging = true;
::SetCapture(hwnd);
return TRUE;
}
break;
}
else
return TRUE;
}
case WM_MOUSEMOVE :
{
if (_isDragging)
{
POINT p;
p.x = LOWORD(lParam);
p.y = HIWORD(lParam);
exchangeItemData(p);
// Get cursor position of "Screen"
// For using the function "WindowFromPoint" afterward!!!
::GetCursorPos(&_draggingPoint);
draggingCursor(_draggingPoint);
return TRUE;
}
if (_drawTabCloseButton)
{
int xPos = LOWORD(lParam);
int yPos = HIWORD(lParam);
int index = getTabIndexAt(xPos, yPos);
if (index != -1)
{
::SendMessage(_hSelf, TCM_GETITEMRECT, index, (LPARAM)&_currentHoverTabRect);
_currentHoverTabItem = index;
}
bool oldVal = _isCloseHover;
_isCloseHover = _closeButtonZone.isHit(xPos, yPos, _currentHoverTabRect);
if (oldVal != _isCloseHover)
::SendMessage(_hParent, WM_COMMAND, IDM_VIEW_REFRESHTABAR, 0);
}
break;
}
case WM_LBUTTONUP :
{
if (_isDragging)
{
if(::GetCapture() == _hSelf)
::ReleaseCapture();
// Send a notification message to the parent with wParam = 0, lParam = 0
// nmhdr.idFrom = this
// destIndex = this->_nSrcTab
// scrIndex = this->_nTabDragged
NMHDR nmhdr;
nmhdr.hwndFrom = _hSelf;
nmhdr.code = _isDraggingInside?TCN_TABDROPPED:TCN_TABDROPPEDOUTSIDE;
nmhdr.idFrom = reinterpret_cast<unsigned int>(this);
::SendMessage(_hParent, WM_NOTIFY, 0, reinterpret_cast<LPARAM>(&nmhdr));
return TRUE;
}
if (_drawTabCloseButton)
{
int xPos = LOWORD(lParam);
int yPos = HIWORD(lParam);
int currentTabOn = getTabIndexAt(xPos, yPos);
if ((_whichCloseClickDown == currentTabOn) && _closeButtonZone.isHit(xPos, yPos, _currentHoverTabRect))
{
NMHDR nmhdr;
nmhdr.hwndFrom = _hSelf;
nmhdr.code = TCN_TABDELETE;
nmhdr.idFrom = reinterpret_cast<unsigned int>(this);
::CallWindowProc(_tabBarDefaultProc, hwnd, WM_LBUTTONDOWN, wParam, lParam);
::SendMessage(_hParent, WM_NOTIFY, 0, reinterpret_cast<LPARAM>(&nmhdr));
_whichCloseClickDown = -1;
return TRUE;
}
_whichCloseClickDown = -1;
}
break;
}
case WM_CAPTURECHANGED :
{
if (_isDragging)
{
_isDragging = false;
return TRUE;
}
break;
}
case WM_DRAWITEM :
{
drawItem((DRAWITEMSTRUCT *)lParam);
return TRUE;
}
case WM_KEYDOWN :
{
if (wParam == VK_LCONTROL)
::SetCursor(::LoadCursor(_hInst, MAKEINTRESOURCE(IDC_DRAG_PLUS_TAB)));
return TRUE;
}
case WM_MBUTTONUP:
{
::CallWindowProc(_tabBarDefaultProc, hwnd, WM_LBUTTONDOWN, wParam, lParam);
NMHDR nmhdr;
nmhdr.hwndFrom = _hSelf;
nmhdr.code = TCN_TABDELETE;
nmhdr.idFrom = reinterpret_cast<unsigned int>(this);
::SendMessage(_hParent, WM_NOTIFY, 0, reinterpret_cast<LPARAM>(&nmhdr));
return TRUE;
}
case WM_LBUTTONDBLCLK :
{
::CallWindowProc(_tabBarDefaultProc, hwnd, WM_LBUTTONDOWN, wParam, lParam);
if (_isDbClk2Close)
{
NMHDR nmhdr;
nmhdr.hwndFrom = _hSelf;
nmhdr.code = TCN_TABDELETE;
nmhdr.idFrom = reinterpret_cast<unsigned int>(this);
::SendMessage(_hParent, WM_NOTIFY, 0, reinterpret_cast<LPARAM>(&nmhdr));
}
return TRUE;
}
}
return ::CallWindowProc(_tabBarDefaultProc, hwnd, Message, wParam, lParam);
}
void TabBarPlus::drawItem(DRAWITEMSTRUCT *pDrawItemStruct)
{
RECT rect = pDrawItemStruct->rcItem;
int nTab = pDrawItemStruct->itemID;
if (nTab < 0)
{
::MessageBox(NULL, "nTab < 0", "", MB_OK);
//return ::CallWindowProc(_tabBarDefaultProc, hwnd, Message, wParam, lParam);
}
bool isSelected = (nTab == ::SendMessage(_hSelf, TCM_GETCURSEL, 0, 0));
char label[64];
TCITEM tci;
tci.mask = TCIF_TEXT|TCIF_IMAGE;
tci.pszText = label;
tci.cchTextMax = MAX_PATH;
if (!::SendMessage(_hSelf, TCM_GETITEM, nTab, reinterpret_cast<LPARAM>(&tci)))
{
::MessageBox(NULL, "! TCM_GETITEM", "", MB_OK);
//return ::CallWindowProc(_tabBarDefaultProc, hwnd, Message, wParam, lParam);
}
HDC hDC = pDrawItemStruct->hDC;
int nSavedDC = ::SaveDC(hDC);
// For some bizarre reason the rcItem you get extends above the actual
// drawing area. We have to workaround this "feature".
rect.top += ::GetSystemMetrics(SM_CYEDGE);
::SetBkMode(hDC, TRANSPARENT);
HBRUSH hBrush = ::CreateSolidBrush(::GetSysColor(COLOR_BTNFACE));
::FillRect(hDC, &rect, hBrush);
::DeleteObject((HGDIOBJ)hBrush);
if (isSelected)
{
if (_drawTopBar)
{
RECT barRect = rect;
barRect.bottom = 6;
hBrush = ::CreateSolidBrush(RGB(250, 170, 60));
::FillRect(hDC, &barRect, hBrush);
::DeleteObject((HGDIOBJ)hBrush);
}
}
else
{
if (_drawInactiveTab)
{
RECT barRect = rect;
hBrush = ::CreateSolidBrush(RGB(192, 192, 192));
::FillRect(hDC, &barRect, hBrush);
::DeleteObject((HGDIOBJ)hBrush);
}
}
if (_drawTabCloseButton)
{
RECT closeButtonRect = _closeButtonZone.getButtonRectFrom(rect);
if (isSelected)
closeButtonRect.left -= 2;
// 3 status for each inactive tab and selected tab close item :
// normal / hover / pushed
int idCloseImg;
if (_isCloseHover && (_currentHoverTabItem == nTab) && (_whichCloseClickDown == -1)) // hover
idCloseImg = IDR_CLOSETAB_HOVER;
else if (_isCloseHover && (_currentHoverTabItem == nTab) && (_whichCloseClickDown == _currentHoverTabItem)) // pushed
idCloseImg = IDR_CLOSETAB_PUSH;
else
idCloseImg = isSelected?IDR_CLOSETAB:IDR_CLOSETAB_INACT;
HDC hdcMemory;
hdcMemory = ::CreateCompatibleDC(hDC);
HBITMAP hBmp = ::LoadBitmap(_hInst, MAKEINTRESOURCE(idCloseImg));
BITMAP bmp;
::GetObject(hBmp, sizeof(bmp), &bmp);
::SelectObject(hdcMemory, hBmp);
::BitBlt(hDC, closeButtonRect.left, closeButtonRect.top, bmp.bmWidth, bmp.bmHeight, hdcMemory, 0, 0, SRCCOPY);
::DeleteDC(hdcMemory);
::DeleteObject(hBmp);
}
// Draw image
HIMAGELIST hImgLst = (HIMAGELIST)::SendMessage(_hSelf, TCM_GETIMAGELIST, 0, 0);
SIZE charPixel;
::GetTextExtentPoint(hDC, " ", 1, &charPixel);
int spaceUnit = charPixel.cx;
if (hImgLst && tci.iImage >= 0)
{
IMAGEINFO info;
ImageList_GetImageInfo(hImgLst, tci.iImage, &info);
RECT & imageRect = info.rcImage;
int yPos = (rect.top + (rect.bottom - rect.top)/2 + (isSelected?0:2)) - (imageRect.bottom - imageRect.top)/2;
int marge = 0;
if (isSelected)
{
marge = spaceUnit*2;
}
else
{
marge = spaceUnit;
}
rect.left += marge;
ImageList_Draw(hImgLst, tci.iImage, hDC, rect.left, yPos, isSelected?ILD_TRANSPARENT:ILD_SELECTED);
rect.left += imageRect.right - imageRect.left;
}
if (isSelected)
{
COLORREF selectedColor = RGB(0, 0, 0);
::SetTextColor(hDC, selectedColor);
rect.top -= ::GetSystemMetrics(SM_CYEDGE);
rect.top += 1;
rect.left += _drawTabCloseButton?spaceUnit:0;
::DrawText(hDC, label, strlen(label), &rect, DT_SINGLELINE | DT_VCENTER | (_drawTabCloseButton?DT_LEFT:DT_CENTER));
}
else
{
COLORREF unselectedColor = grey;
::SetTextColor(hDC, unselectedColor);
rect.left += _drawTabCloseButton?spaceUnit:0;
::DrawText(hDC, label, strlen(label), &rect, DT_SINGLELINE| DT_BOTTOM | (_drawTabCloseButton?DT_LEFT:DT_CENTER));
}
::RestoreDC(hDC, nSavedDC);
}
void TabBarPlus::draggingCursor(POINT screenPoint)
{
HWND hWin = ::WindowFromPoint(screenPoint);
if (_hSelf == hWin)
::SetCursor(::LoadCursor(NULL, IDC_ARROW));
else
{
char className[256];
::GetClassName(hWin, className, 256);
if ((!strcmp(className, "Scintilla")) || (!strcmp(className, WC_TABCONTROL)))
{
if (::GetKeyState(VK_LCONTROL) & 0x80000000)
::SetCursor(::LoadCursor(_hInst, MAKEINTRESOURCE(IDC_DRAG_PLUS_TAB)));
else
::SetCursor(::LoadCursor(_hInst, MAKEINTRESOURCE(IDC_DRAG_TAB)));
}
else
::SetCursor(::LoadCursor(_hInst, MAKEINTRESOURCE(IDC_DRAG_INTERDIT_TAB)));
}
}
void TabBarPlus::exchangeItemData(POINT point)
{
// Find the destination tab...
int nTab = getTabIndexAt(point);
// The position is over a tab.
//if (hitinfo.flags != TCHT_NOWHERE)
if (nTab != -1)
{
_isDraggingInside = true;
if (nTab != _nTabDragged)
{
//1. set to focus
::SendMessage(_hSelf, TCM_SETCURSEL, nTab, 0);
//2. shift their data, and insert the source
TCITEM itemData_nDraggedTab, itemData_shift;
itemData_nDraggedTab.mask = itemData_shift.mask = TCIF_IMAGE | TCIF_TEXT;
char str1[256];
char str2[256];
itemData_nDraggedTab.pszText = str1;
itemData_nDraggedTab.cchTextMax = (sizeof(str1));
itemData_shift.pszText = str2;
itemData_shift.cchTextMax = (sizeof(str2));
::SendMessage(_hSelf, TCM_GETITEM, _nTabDragged, reinterpret_cast<LPARAM>(&itemData_nDraggedTab));
if (_nTabDragged > nTab)
{
for (int i = _nTabDragged ; i > nTab ; i--)
{
::SendMessage(_hSelf, TCM_GETITEM, i-1, reinterpret_cast<LPARAM>(&itemData_shift));
::SendMessage(_hSelf, TCM_SETITEM, i, reinterpret_cast<LPARAM>(&itemData_shift));
}
}
else
{
for (int i = _nTabDragged ; i < nTab ; i++)
{
::SendMessage(_hSelf, TCM_GETITEM, i+1, reinterpret_cast<LPARAM>(&itemData_shift));
::SendMessage(_hSelf, TCM_SETITEM, i, reinterpret_cast<LPARAM>(&itemData_shift));
}
}
//
::SendMessage(_hSelf, TCM_SETITEM, nTab, reinterpret_cast<LPARAM>(&itemData_nDraggedTab));
//3. update the current index
_nTabDragged = nTab;
}
}
else
{
//::SetCursor(::LoadCursor(_hInst, MAKEINTRESOURCE(IDC_DRAG_TAB)));
_isDraggingInside = false;
}
}

View File

@ -1,287 +0,0 @@
//this file is part of notepad++
//Copyright (C)2003 Don HO ( donho@altern.org )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//#include "..\..\resource.h"
#include "ToolBar.h"
#include "SysMsg.h"
const bool ToolBar::REDUCED = true;
const bool ToolBar::ENLARGED = false;
const int WS_TOOLBARSTYLE = WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | TBSTYLE_TOOLTIPS |TBSTYLE_FLAT | CCS_TOP | BTNS_AUTOSIZE;
bool ToolBar::init(HINSTANCE hInst, HWND hPere, int iconSize,
ToolBarButtonUnit *buttonUnitArray, int arraySize,
bool doUglyStandardIcon, int *bmpArray, int bmpArraySize)
{
Window::init(hInst, hPere);
_state = doUglyStandardIcon?TB_STANDARD:(iconSize >= 32?TB_LARGE:TB_SMALL);
_bmpArray = bmpArray;
_bmpArraySize = bmpArraySize;
_toolBarIcons.init(buttonUnitArray, arraySize);
_toolBarIcons.create(_hInst, iconSize);
// _state = (iconSize < 32)?REDUCED:ENLARGED;
INITCOMMONCONTROLSEX icex;
icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
icex.dwICC = ICC_BAR_CLASSES|ICC_COOL_CLASSES;
InitCommonControlsEx(&icex);
_hToolBar = ::CreateWindowEx(
WS_EX_PALETTEWINDOW ,
TOOLBARCLASSNAME,
"",
WS_TOOLBARSTYLE,
0, 0,
0, 0,
_hParent,
NULL,
_hInst,
0);
if (!_hToolBar)
{
systemMessage("System Err");
throw int(9);
}
// Send the TB_BUTTONSTRUCTSIZE message, which is required for
// backward compatibility.
::SendMessage(_hToolBar, TB_BUTTONSTRUCTSIZE, (WPARAM)sizeof(TBBUTTON), 0);
if (!doUglyStandardIcon)
{
setDefaultImageList();
setHotImageList();
setDisableImageList();
}
else
{
::SendMessage(_hToolBar, TB_LOADIMAGES, IDB_STD_SMALL_COLOR, reinterpret_cast<LPARAM>(HINST_COMMCTRL));
TBADDBITMAP addbmp = {_hInst, 0};
if (bmpArray)
{
for (int i = 0 ; i < _bmpArraySize ; i++)
{
addbmp.nID = _bmpArray[i];
::SendMessage(_hToolBar, TB_ADDBITMAP, 1, (LPARAM)&addbmp);
}
}
}
int nbElement = _toolBarIcons.getNbCommand();
_pTBB = new TBBUTTON[nbElement];
int inc = 1;
for (int i = 0, j = 0; i < nbElement ; i++)
{
int cmd = 0;
int bmpIndex, style;
if ((cmd = _toolBarIcons.getCommandAt(i)) != 0)
{
if (doUglyStandardIcon)
{
int ibmp = _toolBarIcons.getUglyIconAt(i);
bmpIndex = (ibmp == -1)?(STD_PRINT + (inc++)):ibmp;
}
else
bmpIndex = j++;
style = BTNS_BUTTON;
}
else
{
bmpIndex = 0;
style = BTNS_SEP;
}
_pTBB[i].iBitmap = bmpIndex;
_pTBB[i].idCommand = cmd;
_pTBB[i].fsState = TBSTATE_ENABLED;
_pTBB[i].fsStyle = style;
_pTBB[i].dwData = 0;
_pTBB[i].iString = 0;
}
setButtonSize(iconSize, iconSize);
::SendMessage(_hToolBar, TB_ADDBUTTONS, (WPARAM)nbElement, (LPARAM)_pTBB);
::SendMessage(_hToolBar, TB_AUTOSIZE, 0, 0);
REBARINFO rbi;
REBARBANDINFO rbBand;
_hSelf = CreateWindowEx(WS_EX_TOOLWINDOW,
REBARCLASSNAME,
NULL,
WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|
WS_CLIPCHILDREN|RBS_VARHEIGHT|
CCS_NODIVIDER,
0,0,0,0, _hParent, NULL, _hInst, NULL);
rbi.cbSize = sizeof(REBARINFO);
rbi.fMask = 0;
rbi.himl = (HIMAGELIST)NULL;
SendMessage(_hSelf, RB_SETBARINFO, 0, (LPARAM)&rbi);
//rbBand.cbSize = sizeof(REBARBANDINFO);
rbBand.fMask = RBBIM_COLORS | RBBIM_TEXT | RBBIM_BACKGROUND | \
RBBIM_STYLE | RBBIM_CHILD | RBBIM_CHILDSIZE | \
RBBIM_SIZE;
rbBand.fStyle = RBBS_FIXEDSIZE | RBBS_CHILDEDGE;
rbBand.hbmBack = NULL;
rbBand.lpText = "Toolbar";
rbBand.hwndChild = _hToolBar;
int dwBtnSize = SendMessage(_hToolBar, TB_GETBUTTONSIZE, 0,0);
rbBand.cxMinChild = 34;//nbElement;
rbBand.cyMinChild = HIWORD(dwBtnSize);
rbBand.cx = 250;
SendMessage(_hSelf, RB_INSERTBAND, (WPARAM)0, (LPARAM)&rbBand);
return true;
}
void ToolBar::reset()
{
setDefaultImageList();
setHotImageList();
setDisableImageList();
if (_state == TB_STANDARD)
{
int nbElement = _toolBarIcons.getNbCommand();
for (int i = 0, j = 0, k = nbElement-1 ; i < nbElement ; i++, k--)
{
int cmd = 0;
int bmpIndex, style;
::SendMessage(_hToolBar, TB_DELETEBUTTON, k, 0);
if ((cmd = _toolBarIcons.getCommandAt(i)) != 0)
{
bmpIndex = j++;
style = BTNS_BUTTON;
}
else
{
bmpIndex = 0;
style = BTNS_SEP;
}
_pTBB[i].iBitmap = bmpIndex;
_pTBB[i].idCommand = cmd;
_pTBB[i].fsState = TBSTATE_ENABLED;
_pTBB[i].fsStyle = style;
_pTBB[i].dwData = 0;
_pTBB[i].iString = 0;
}
::SendMessage(_hToolBar, TB_ADDBUTTONS, (WPARAM)nbElement, (LPARAM)_pTBB);
}
::SendMessage(_hToolBar, TB_AUTOSIZE, 0, 0);
}
void ToolBar::setToUglyIcons()
{
if (_state == TB_STANDARD)
return;
// Due to the drawback of toolbar control (in-coexistence of Imagelist - custom icons and Bitmap - Std icons),
// We have to destroy the control then re-initialize it
::DestroyWindow(_hToolBar);
//_state = REDUCED;
_hToolBar = ::CreateWindowEx(
WS_EX_PALETTEWINDOW ,
TOOLBARCLASSNAME,
"",
WS_TOOLBARSTYLE,
0, 0,
0, 0,
_hParent,
NULL,
_hInst,
0);
if (!_hToolBar)
{
systemMessage("System Err");
throw int(9);
}
// Send the TB_BUTTONSTRUCTSIZE message, which is required for
// backward compatibility.
::SendMessage(_hToolBar, TB_BUTTONSTRUCTSIZE, (WPARAM)sizeof(TBBUTTON), 0);
::SendMessage(_hToolBar, TB_LOADIMAGES, IDB_STD_SMALL_COLOR, reinterpret_cast<LPARAM>(HINST_COMMCTRL));
TBADDBITMAP addbmp = {_hInst, 0};
if (_bmpArray)
{
for (int i = 0 ; i < _bmpArraySize ; i++)
{
addbmp.nID = _bmpArray[i];
::SendMessage(_hToolBar, TB_ADDBITMAP, 1, (LPARAM)&addbmp);
}
}
int nbElement = _toolBarIcons.getNbCommand();
int inc = 1;
for (int i = 0 ; i < nbElement ; i++)
{
int cmd = 0;
int bmpIndex, style;
if ((cmd = _toolBarIcons.getCommandAt(i)) != 0)
{
int ibmp = _toolBarIcons.getUglyIconAt(i);
bmpIndex = (ibmp == -1)?(STD_PRINT + (inc++)):ibmp;
style = BTNS_BUTTON;
}
else
{
bmpIndex = 0;
style = BTNS_SEP;
}
_pTBB[i].iBitmap = bmpIndex;
_pTBB[i].idCommand = cmd;
_pTBB[i].fsState = TBSTATE_ENABLED;
_pTBB[i].fsStyle = style;
_pTBB[i].dwData = 0;
_pTBB[i].iString = 0;
}
setButtonSize(16, 16);
::SendMessage(_hToolBar, TB_ADDBUTTONS, (WPARAM)nbElement, (LPARAM)_pTBB);
::SendMessage(_hToolBar, TB_AUTOSIZE, 0, 0);
_state = TB_STANDARD;
}

View File

@ -1,150 +0,0 @@
//this file is part of notepad++
//Copyright (C)2003 Don HO ( donho@altern.org )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef TOOL_BAR_H
#define TOOL_BAR_H
#include "Window.h"
#ifndef _WIN32_IE
#define _WIN32_IE 0x0600
#endif //_WIN32_IE
#include <commctrl.h>
#ifndef TB_SETIMAGELIST
#define TB_SETIMAGELIST (WM_USER+48)
#endif
#ifndef TB_SETHOTIMAGELIST
#define TB_SETHOTIMAGELIST (WM_USER+52)
#endif
#ifndef TB_SETDISABLEDIMAGELIST
#define TB_SETDISABLEDIMAGELIST (WM_USER+54)
#endif
enum toolBarStatusType {TB_HIDE, TB_SMALL, TB_LARGE, TB_STANDARD};
#include "ImageListSet.h"
class ToolBar : public Window
{
public :
const static bool REDUCED;
const static bool ENLARGED;
ToolBar():Window(), _pTBB(NULL){};
virtual ~ToolBar(){};
virtual bool init(HINSTANCE hInst, HWND hPere, int iconSize,
ToolBarButtonUnit *buttonUnitArray, int arraySize,
bool doUglyStandardIcon = false, int *bmpArray = NULL, int bmpArraySize = 0);
virtual void destroy() {
delete [] _pTBB;
::DestroyWindow(_hSelf);
::DestroyWindow(_hToolBar);
_hSelf = NULL;
_hToolBar = NULL;
_toolBarIcons.destroy();
};
void enable(int cmdID, bool doEnable) const {
::SendMessage(_hToolBar, TB_ENABLEBUTTON, cmdID, (LPARAM)doEnable);
};
int getHeight() const {
if (!::IsWindowVisible(_hSelf))
return 0;
RECT rc;
::GetClientRect(_hToolBar, &rc);
return (rc.bottom - rc.top);
};
void reduce() {
if (_state == TB_SMALL)
return;
// I really don't know why we have to enlarge then reduce
// to take the effect.
if (_state == TB_STANDARD)
_toolBarIcons.resizeIcon(32);
_toolBarIcons.resizeIcon(16);
reset();
Window::redraw();
_state = TB_SMALL;
};
void enlarge() {
if (_state == TB_LARGE)
return;
_toolBarIcons.resizeIcon(32);
reset();
Window::redraw();
_state = TB_LARGE;
};
void display(bool toShow = true) {
Window::display(toShow);
if (!toShow)
_state = TB_HIDE;
};
bool getCheckState(int ID2Check) const {
return bool(::SendMessage(_hToolBar, TB_GETSTATE, (WPARAM)ID2Check, 0) & TBSTATE_CHECKED);
};
void setCheck(int ID2Check, bool willBeChecked) const {
::SendMessage(_hToolBar, TB_CHECKBUTTON, (WPARAM)ID2Check, (LPARAM)MAKELONG(willBeChecked, 0));
};
toolBarStatusType getState() const {return _state;};
void setToUglyIcons();
bool changeIcons(int whichLst, int iconIndex, const char *iconLocation){
return _toolBarIcons.replaceIcon(whichLst, iconIndex, iconLocation);
};
private :
TBBUTTON *_pTBB;
ToolBarIcons _toolBarIcons;
toolBarStatusType _state;
int *_bmpArray;
int _bmpArraySize;
HWND _hToolBar;
void setDefaultImageList() {
::SendMessage(_hToolBar, TB_SETIMAGELIST , (WPARAM)0, (LPARAM)_toolBarIcons.getDefaultLst());
};
void setHotImageList() {
::SendMessage(_hToolBar, TB_SETHOTIMAGELIST , (WPARAM)0, (LPARAM)_toolBarIcons.getHotLst());
};
void setDisableImageList() {
::SendMessage(_hToolBar, TB_SETDISABLEDIMAGELIST, (WPARAM)0, (LPARAM)_toolBarIcons.getDisableLst());
};
void setButtonSize(int w, int h) {
::SendMessage(_hToolBar, TB_SETBUTTONSIZE , (WPARAM)0, (LPARAM)MAKELONG (w, h));
};
void reset();
};
#endif // TOOL_BAR_H

View File

@ -1,108 +0,0 @@
//this file is part of notepad++
//Copyright (C)2003 Don HO ( donho@altern.org )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Foundation; either
//version 2 of the License, or (at your option) any later version.
//
//This program is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef WINDOW_CONTROL_H
#define WINDOW_CONTROL_H
#include <windows.h>
class Window
{
public:
Window(): _hInst(NULL), _hParent(NULL), _hSelf(NULL){};
virtual ~Window() {};
virtual void init(HINSTANCE hInst, HWND parent)
{
_hInst = hInst;
_hParent = parent;
}
virtual void destroy() = 0;
virtual void display(bool toShow = true) const {
::ShowWindow(_hSelf, toShow?SW_SHOW:SW_HIDE);
};
virtual void reSizeTo(RECT & rc) // should NEVER be const !!!
{
::MoveWindow(_hSelf, rc.left, rc.top, rc.right, rc.bottom, TRUE);
redraw();
};
virtual void reSizeToWH(RECT & rc) // should NEVER be const !!!
{
::MoveWindow(_hSelf, rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top, TRUE);
redraw();
};
virtual void redraw() const {
::InvalidateRect(_hSelf, NULL, TRUE);
::UpdateWindow(_hSelf);
};
virtual void getClientRect(RECT & rc) const {
::GetClientRect(_hSelf, &rc);
};
virtual void getWindowRect(RECT & rc) const {
::GetWindowRect(_hSelf, &rc);
};
virtual int getWidth() const {
RECT rc;
::GetClientRect(_hSelf, &rc);
return (rc.right - rc.left);
};
virtual int getHeight() const {
RECT rc;
::GetClientRect(_hSelf, &rc);
return (rc.bottom - rc.top);
};
virtual bool isVisible() const {
return (::IsWindowVisible(_hSelf)?true:false);
};
HWND getHSelf() const {
return _hSelf;
};
HWND getHParent() const {
return _hParent;
};
void getFocus() const {
::SetFocus(_hSelf);
};
HINSTANCE getHinst() const {
if (!_hInst)
{
::MessageBox(NULL, "_hInst == NULL", "class Window", MB_OK);
}
return _hInst;
};
protected:
HINSTANCE _hInst;
HWND _hParent;
HWND _hSelf;
};
#endif //WINDOW_CONTROL_H

View File

@ -1,98 +0,0 @@
/allChars_off.ico/1.1/Thu Nov 13 14:06:18 2003/-kb/
/allChars_on.ico/1.1/Thu Nov 13 14:06:18 2003/-kb/
/cut_dis.ico/1.1/Tue Apr 22 17:06:14 2003/-kb/
/cut_off.ico/1.1/Thu Apr 10 09:19:26 2003/-kb/
/cut_on.ico/1.1/Thu Apr 10 09:18:50 2003/-kb/
/delete.ico/1.1/Sat Apr 12 18:19:14 1997/-kb/
/dupli_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/dupli_off.ico/1.1/Wed Apr 23 09:50:54 2003/-kb/
/dupli_on.ico/1.1/Thu Apr 10 10:29:22 2003/-kb/
/find_off.ico/1.1/Thu Apr 10 09:42:18 2003/-kb/
/find_on.ico/1.1/Thu Apr 10 09:49:18 2003/-kb/
/findrep_off.ico/1.1/Thu Apr 10 09:59:12 2003/-kb/
/findrep_on.ico/1.1/Thu Apr 10 10:31:08 2003/-kb/
/imprim_off.ico/1.1/Thu Apr 10 12:21:44 2003/-kb/
/imprim_on.ico/1.1/Thu Apr 10 12:22:26 2003/-kb/
/indentGuide.bmp/1.1/Sun May 2 00:48:32 2004/-kb/
/indentGuide_off.ico/1.1/Fri Nov 14 17:14:42 2003/-kb/
/indentGuide_on.ico/1.1/Fri Nov 14 17:11:06 2003/-kb/
/new_off.ico/1.1/Thu Apr 10 07:58:18 2003/-kb/
/new_on.ico/1.1/Thu Apr 10 07:59:00 2003/-kb/
/open_off.ico/1.1/Thu Apr 10 08:00:48 2003/-kb/
/open_on.ico/1.1/Thu Apr 10 07:59:50 2003/-kb/
/paste_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/paste_off.ico/1.1/Thu Apr 10 13:00:34 2003/-kb/
/paste_on.ico/1.1/Thu Apr 10 14:52:58 2003/-kb/
/playrecord_dis.ico/1.1/Wed May 18 18:51:40 2005/-kb/
/playrecord_off.ico/1.1/Wed May 18 18:51:48 2005/-kb/
/playrecord_on.ico/1.1/Wed May 18 18:55:40 2005/-kb/
/redo_dis.ico/1.1/Tue Apr 22 17:28:36 2003/-kb/
/redo_off.ico/1.1/Thu Apr 10 09:07:00 2003/-kb/
/redo_on.ico/1.1/Thu Apr 10 09:04:28 2003/-kb/
/save_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/save_off.ico/1.1/Thu Apr 10 13:19:52 2003/-kb/
/save_on.ico/1.1/Thu Apr 10 13:20:48 2003/-kb/
/saveall_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/saveall_off.ico/1.1/Thu Apr 10 13:36:00 2003/-kb/
/saveall_on.ico/1.1/Thu Apr 10 13:36:34 2003/-kb/
/saverecord_dis.ico/1.1/Wed May 18 18:51:44 2005/-kb/
/saverecord_off.ico/1.1/Wed May 18 18:51:56 2005/-kb/
/saverecord_on.ico/1.1/Wed May 18 18:51:36 2005/-kb/
/startrecord_dis.ico/1.1/Wed May 18 18:51:42 2005/-kb/
/startrecord_off.ico/1.1/Wed May 18 18:51:54 2005/-kb/
/startrecord_on.ico/1.1/Wed May 18 18:51:34 2005/-kb/
/stoprecord_dis.ico/1.1/Wed May 18 18:51:46 2005/-kb/
/stoprecord_off.ico/1.1/Wed May 18 18:51:58 2005/-kb/
/stoprecord_on.ico/1.1/Wed May 18 18:51:26 2005/-kb/
/supp_off.ico/1.1/Thu Apr 10 08:06:56 2003/-kb/
/supp_on.ico/1.1/Thu Apr 10 08:12:02 2003/-kb/
/suppall_off.ico/1.1/Thu Apr 10 10:15:42 2003/-kb/
/suppall_on.ico/1.1/Thu Apr 10 10:16:46 2003/-kb/
/undo_dis.ico/1.1/Tue Apr 22 17:28:36 2003/-kb/
/undo_off.ico/1.1/Thu Apr 10 09:06:02 2003/-kb/
/undo_on.ico/1.1/Thu Apr 10 09:03:14 2003/-kb/
/userDefineDlg_off.ico/1.1/Fri Nov 14 14:31:38 2003/-kb/
/userDefineDlg_on.ico/1.1/Fri Nov 14 14:31:38 2003/-kb/
/wrap_dis.ico/1.1/Mon Jan 5 19:13:08 2004/-kb/
/wrap_off.ico/1.1/Mon Jan 5 19:12:52 2004/-kb/
/wrap_on.ico/1.1/Mon Jan 5 19:12:20 2004/-kb/
/zoomIn_off.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/zoomIn_on.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/zoomOut_off.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/zoomOut_on.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/syncH_dis.ico/1.1/Thu Dec 22 19:08:26 2005/-kb/
/syncH_off.ico/1.1/Thu Dec 22 19:08:16 2005/-kb/
/syncH_on.ico/1.1/Thu Dec 22 19:08:30 2005/-kb/
/syncV_dis.ico/1.1/Thu Dec 22 19:08:22 2005/-kb/
/syncV_off.ico/1.1/Thu Dec 22 19:08:20 2005/-kb/
/syncV_on.ico/1.1/Thu Dec 22 19:08:28 2005/-kb/
/npp.ico/1.2/Sun Jan 8 16:36:46 2006/-kb/
/find.bmp/1.2/Sun Feb 12 12:27:18 2006/-kb/
/findReplace.bmp/1.2/Sun Feb 12 12:59:20 2006/-kb/
/invisibleChar.bmp/1.2/Sun Feb 12 23:51:44 2006/-kb/
/saveAll.bmp/1.2/Sun Feb 12 22:59:06 2006/-kb/
/saveRecord.bmp/1.2/Sun Feb 12 15:28:36 2006/-kb/
/showPannel.bmp/1.2/Sun Feb 12 22:34:06 2006/-kb/
/zoomIn.bmp/1.2/Sun Feb 12 12:55:28 2006/-kb/
/zoomOut.bmp/1.2/Sun Feb 12 12:48:40 2006/-kb/
/copy.bmp/1.1/Sun Feb 12 22:44:26 2006/-kb/
/openFile.bmp/1.1/Sun Feb 12 14:16:38 2006/-kb/
/paste.bmp/1.1/Sun Feb 12 22:56:52 2006/-kb/
/print.bmp/1.1/Sun Feb 12 15:10:04 2006/-kb/
/redo.bmp/1.1/Sun Feb 12 17:12:12 2006/-kb/
/undo.bmp/1.1/Sun Feb 12 17:14:12 2006/-kb/
/playRecord.bmp/1.3/Fri Feb 17 00:47:08 2006/-kb/
/startRecord.bmp/1.2/Fri Feb 17 00:50:42 2006/-kb/
/stopRecord.bmp/1.2/Fri Feb 17 00:49:28 2006/-kb/
/syncV.bmp/1.2/Sat Feb 18 01:37:00 2006/-kb/
/wrap.bmp/1.2/Sat Feb 18 00:51:40 2006/-kb/
/cut.bmp/1.2/Tue Feb 21 23:40:40 2006/-kb/
/saveFile.bmp/1.2/Tue Feb 21 23:44:16 2006/-kb/
/syncH.bmp/1.3/Tue Feb 21 23:46:10 2006/-kb/
/closeAll.bmp/1.3/Sat Mar 11 02:42:22 2006/-kb/
/closeFile.bmp/1.3/Sat Mar 11 02:57:00 2006/-kb/
/newFile.bmp/1.2/Sat Mar 11 02:12:38 2006/-kb/
/readonly.ico/1.2/Sun Sep 24 21:30:32 2006/-kb/
/saved.ico/1.2/Sat Sep 23 23:36:40 2006/-kb/
/unsaved.ico/1.2/Sun Sep 24 21:27:28 2006/-kb/
D

View File

@ -1,97 +0,0 @@
/allChars_off.ico////*///
/allChars_on.ico////*///
/cut_dis.ico////*///
/cut_off.ico////*///
/cut_on.ico////*///
/delete.ico////*///
/dupli_dis.ico////*///
/dupli_off.ico////*///
/dupli_on.ico////*///
/find_off.ico////*///
/find_on.ico////*///
/findrep_off.ico////*///
/findrep_on.ico////*///
/imprim_off.ico////*///
/imprim_on.ico////*///
/indentGuide.bmp////*///
/indentGuide_off.ico////*///
/indentGuide_on.ico////*///
/new_off.ico////*///
/new_on.ico////*///
/open_off.ico////*///
/open_on.ico////*///
/paste_dis.ico////*///
/paste_off.ico////*///
/paste_on.ico////*///
/playrecord_dis.ico////*///
/playrecord_off.ico////*///
/playrecord_on.ico////*///
/redo_dis.ico////*///
/redo_off.ico////*///
/redo_on.ico////*///
/save_dis.ico////*///
/save_off.ico////*///
/save_on.ico////*///
/saveall_dis.ico////*///
/saveall_off.ico////*///
/saveall_on.ico////*///
/saverecord_dis.ico////*///
/saverecord_off.ico////*///
/saverecord_on.ico////*///
/startrecord_dis.ico////*///
/startrecord_off.ico////*///
/startrecord_on.ico////*///
/stoprecord_dis.ico////*///
/stoprecord_off.ico////*///
/stoprecord_on.ico////*///
/supp_off.ico////*///
/supp_on.ico////*///
/suppall_off.ico////*///
/suppall_on.ico////*///
/undo_dis.ico////*///
/undo_off.ico////*///
/undo_on.ico////*///
/userDefineDlg_off.ico////*///
/userDefineDlg_on.ico////*///
/wrap_dis.ico////*///
/wrap_off.ico////*///
/wrap_on.ico////*///
/zoomIn_off.ico////*///
/zoomIn_on.ico////*///
/zoomOut_off.ico////*///
/zoomOut_on.ico////*///
/syncH_dis.ico////*///
/syncH_off.ico////*///
/syncH_on.ico////*///
/syncV_dis.ico////*///
/syncV_off.ico////*///
/syncV_on.ico////*///
/npp.ico////*///
/find.bmp////*///
/findReplace.bmp////*///
/invisibleChar.bmp////*///
/saveAll.bmp////*///
/saveRecord.bmp////*///
/showPannel.bmp////*///
/zoomIn.bmp////*///
/zoomOut.bmp////*///
/copy.bmp////*///
/openFile.bmp////*///
/paste.bmp////*///
/print.bmp////*///
/redo.bmp////*///
/undo.bmp////*///
/playRecord.bmp////*///
/startRecord.bmp////*///
/stopRecord.bmp////*///
/syncV.bmp////*///
/wrap.bmp////*///
/cut.bmp////*///
/saveFile.bmp////*///
/syncH.bmp////*///
/closeAll.bmp////*///
/closeFile.bmp////*///
/newFile.bmp////*///
/readonly.ico////*///
/saved.ico////*///
/unsaved.ico////*///

View File

@ -1,97 +0,0 @@
/allChars_off.ico////*///
/allChars_on.ico////*///
/cut_dis.ico////*///
/cut_off.ico////*///
/cut_on.ico////*///
/delete.ico////*///
/dupli_dis.ico////*///
/dupli_off.ico////*///
/dupli_on.ico////*///
/find_off.ico////*///
/find_on.ico////*///
/findrep_off.ico////*///
/findrep_on.ico////*///
/imprim_off.ico////*///
/imprim_on.ico////*///
/indentGuide.bmp////*///
/indentGuide_off.ico////*///
/indentGuide_on.ico////*///
/new_off.ico////*///
/new_on.ico////*///
/open_off.ico////*///
/open_on.ico////*///
/paste_dis.ico////*///
/paste_off.ico////*///
/paste_on.ico////*///
/playrecord_dis.ico////*///
/playrecord_off.ico////*///
/playrecord_on.ico////*///
/readonly.ico////*///
/redo_dis.ico////*///
/redo_off.ico////*///
/redo_on.ico////*///
/save_dis.ico////*///
/save_off.ico////*///
/save_on.ico////*///
/saveall_dis.ico////*///
/saveall_off.ico////*///
/saveall_on.ico////*///
/saved.ico////*///
/saverecord_dis.ico////*///
/saverecord_off.ico////*///
/saverecord_on.ico////*///
/startrecord_dis.ico////*///
/startrecord_off.ico////*///
/startrecord_on.ico////*///
/stoprecord_dis.ico////*///
/stoprecord_off.ico////*///
/stoprecord_on.ico////*///
/supp_off.ico////*///
/supp_on.ico////*///
/suppall_off.ico////*///
/suppall_on.ico////*///
/undo_dis.ico////*///
/undo_off.ico////*///
/undo_on.ico////*///
/unsaved.ico////*///
/userDefineDlg_off.ico////*///
/userDefineDlg_on.ico////*///
/wrap_dis.ico////*///
/wrap_off.ico////*///
/wrap_on.ico////*///
/zoomIn_off.ico////*///
/zoomIn_on.ico////*///
/zoomOut_off.ico////*///
/zoomOut_on.ico////*///
/syncH_dis.ico////*///
/syncH_off.ico////*///
/syncH_on.ico////*///
/syncV_dis.ico////*///
/syncV_off.ico////*///
/syncV_on.ico////*///
/npp.ico////*///
/find.bmp////*///
/findReplace.bmp////*///
/invisibleChar.bmp////*///
/saveAll.bmp////*///
/saveRecord.bmp////*///
/showPannel.bmp////*///
/zoomIn.bmp////*///
/zoomOut.bmp////*///
/copy.bmp////*///
/openFile.bmp////*///
/paste.bmp////*///
/print.bmp////*///
/redo.bmp////*///
/undo.bmp////*///
/playRecord.bmp////*///
/startRecord.bmp////*///
/stopRecord.bmp////*///
/syncV.bmp////*///
/wrap.bmp////*///
/cut.bmp////*///
/saveFile.bmp////*///
/syncH.bmp////*///
/closeAll.bmp////*///
/closeFile.bmp////*///
/newFile.bmp////*///

View File

@ -1,98 +0,0 @@
/allChars_off.ico/1.1/Thu Nov 13 14:06:18 2003/-kb/
/allChars_on.ico/1.1/Thu Nov 13 14:06:18 2003/-kb/
/cut_dis.ico/1.1/Tue Apr 22 17:06:14 2003/-kb/
/cut_off.ico/1.1/Thu Apr 10 09:19:26 2003/-kb/
/cut_on.ico/1.1/Thu Apr 10 09:18:50 2003/-kb/
/delete.ico/1.1/Sat Apr 12 18:19:14 1997/-kb/
/dupli_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/dupli_off.ico/1.1/Wed Apr 23 09:50:54 2003/-kb/
/dupli_on.ico/1.1/Thu Apr 10 10:29:22 2003/-kb/
/find_off.ico/1.1/Thu Apr 10 09:42:18 2003/-kb/
/find_on.ico/1.1/Thu Apr 10 09:49:18 2003/-kb/
/findrep_off.ico/1.1/Thu Apr 10 09:59:12 2003/-kb/
/findrep_on.ico/1.1/Thu Apr 10 10:31:08 2003/-kb/
/imprim_off.ico/1.1/Thu Apr 10 12:21:44 2003/-kb/
/imprim_on.ico/1.1/Thu Apr 10 12:22:26 2003/-kb/
/indentGuide.bmp/1.1/Sun May 2 00:48:32 2004/-kb/
/indentGuide_off.ico/1.1/Fri Nov 14 17:14:42 2003/-kb/
/indentGuide_on.ico/1.1/Fri Nov 14 17:11:06 2003/-kb/
/new_off.ico/1.1/Thu Apr 10 07:58:18 2003/-kb/
/new_on.ico/1.1/Thu Apr 10 07:59:00 2003/-kb/
/open_off.ico/1.1/Thu Apr 10 08:00:48 2003/-kb/
/open_on.ico/1.1/Thu Apr 10 07:59:50 2003/-kb/
/paste_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/paste_off.ico/1.1/Thu Apr 10 13:00:34 2003/-kb/
/paste_on.ico/1.1/Thu Apr 10 14:52:58 2003/-kb/
/playrecord_dis.ico/1.1/Wed May 18 18:51:40 2005/-kb/
/playrecord_off.ico/1.1/Wed May 18 18:51:48 2005/-kb/
/playrecord_on.ico/1.1/Wed May 18 18:55:40 2005/-kb/
/readonly.ico/1.1/Fri Apr 25 15:56:44 2003/-kb/
/redo_dis.ico/1.1/Tue Apr 22 17:28:36 2003/-kb/
/redo_off.ico/1.1/Thu Apr 10 09:07:00 2003/-kb/
/redo_on.ico/1.1/Thu Apr 10 09:04:28 2003/-kb/
/save_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/save_off.ico/1.1/Thu Apr 10 13:19:52 2003/-kb/
/save_on.ico/1.1/Thu Apr 10 13:20:48 2003/-kb/
/saveall_dis.ico/1.1/Tue Apr 22 17:21:16 2003/-kb/
/saveall_off.ico/1.1/Thu Apr 10 13:36:00 2003/-kb/
/saveall_on.ico/1.1/Thu Apr 10 13:36:34 2003/-kb/
/saved.ico/1.1/Sun Apr 20 01:36:20 2003/-kb/
/saverecord_dis.ico/1.1/Wed May 18 18:51:44 2005/-kb/
/saverecord_off.ico/1.1/Wed May 18 18:51:56 2005/-kb/
/saverecord_on.ico/1.1/Wed May 18 18:51:36 2005/-kb/
/startrecord_dis.ico/1.1/Wed May 18 18:51:42 2005/-kb/
/startrecord_off.ico/1.1/Wed May 18 18:51:54 2005/-kb/
/startrecord_on.ico/1.1/Wed May 18 18:51:34 2005/-kb/
/stoprecord_dis.ico/1.1/Wed May 18 18:51:46 2005/-kb/
/stoprecord_off.ico/1.1/Wed May 18 18:51:58 2005/-kb/
/stoprecord_on.ico/1.1/Wed May 18 18:51:26 2005/-kb/
/supp_off.ico/1.1/Thu Apr 10 08:06:56 2003/-kb/
/supp_on.ico/1.1/Thu Apr 10 08:12:02 2003/-kb/
/suppall_off.ico/1.1/Thu Apr 10 10:15:42 2003/-kb/
/suppall_on.ico/1.1/Thu Apr 10 10:16:46 2003/-kb/
/undo_dis.ico/1.1/Tue Apr 22 17:28:36 2003/-kb/
/undo_off.ico/1.1/Thu Apr 10 09:06:02 2003/-kb/
/undo_on.ico/1.1/Thu Apr 10 09:03:14 2003/-kb/
/unsaved.ico/1.1/Sun Apr 20 01:37:54 2003/-kb/
/userDefineDlg_off.ico/1.1/Fri Nov 14 14:31:38 2003/-kb/
/userDefineDlg_on.ico/1.1/Fri Nov 14 14:31:38 2003/-kb/
/wrap_dis.ico/1.1/Mon Jan 5 19:13:08 2004/-kb/
/wrap_off.ico/1.1/Mon Jan 5 19:12:52 2004/-kb/
/wrap_on.ico/1.1/Mon Jan 5 19:12:20 2004/-kb/
/zoomIn_off.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/zoomIn_on.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/zoomOut_off.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/zoomOut_on.ico/1.1/Tue Apr 22 17:00:20 2003/-kb/
/syncH_dis.ico/1.1/Thu Dec 22 19:08:26 2005/-kb/
/syncH_off.ico/1.1/Thu Dec 22 19:08:16 2005/-kb/
/syncH_on.ico/1.1/Thu Dec 22 19:08:30 2005/-kb/
/syncV_dis.ico/1.1/Thu Dec 22 19:08:22 2005/-kb/
/syncV_off.ico/1.1/Thu Dec 22 19:08:20 2005/-kb/
/syncV_on.ico/1.1/Thu Dec 22 19:08:28 2005/-kb/
/npp.ico/1.2/Sun Jan 8 16:36:46 2006/-kb/
/find.bmp/1.2/Sun Feb 12 12:27:18 2006/-kb/
/findReplace.bmp/1.2/Sun Feb 12 12:59:20 2006/-kb/
/invisibleChar.bmp/1.2/Sun Feb 12 23:51:44 2006/-kb/
/saveAll.bmp/1.2/Sun Feb 12 22:59:06 2006/-kb/
/saveRecord.bmp/1.2/Sun Feb 12 15:28:36 2006/-kb/
/showPannel.bmp/1.2/Sun Feb 12 22:34:06 2006/-kb/
/zoomIn.bmp/1.2/Sun Feb 12 12:55:28 2006/-kb/
/zoomOut.bmp/1.2/Sun Feb 12 12:48:40 2006/-kb/
/copy.bmp/1.1/Sun Feb 12 22:44:26 2006/-kb/
/openFile.bmp/1.1/Sun Feb 12 14:16:38 2006/-kb/
/paste.bmp/1.1/Sun Feb 12 22:56:52 2006/-kb/
/print.bmp/1.1/Sun Feb 12 15:10:04 2006/-kb/
/redo.bmp/1.1/Sun Feb 12 17:12:12 2006/-kb/
/undo.bmp/1.1/Sun Feb 12 17:14:12 2006/-kb/
/playRecord.bmp/1.3/Fri Feb 17 00:47:08 2006/-kb/
/startRecord.bmp/1.2/Fri Feb 17 00:50:42 2006/-kb/
/stopRecord.bmp/1.2/Fri Feb 17 00:49:28 2006/-kb/
/syncV.bmp/1.2/Sat Feb 18 01:37:00 2006/-kb/
/wrap.bmp/1.2/Sat Feb 18 00:51:40 2006/-kb/
/cut.bmp/1.2/Tue Feb 21 23:40:40 2006/-kb/
/saveFile.bmp/1.2/Tue Feb 21 23:44:16 2006/-kb/
/syncH.bmp/1.3/Tue Feb 21 23:46:10 2006/-kb/
/closeAll.bmp/1.3/Sat Mar 11 02:42:22 2006/-kb/
/closeFile.bmp/1.3/Sat Mar 11 02:57:00 2006/-kb/
/newFile.bmp/1.2/Sat Mar 11 02:12:38 2006/-kb/
D

View File

@ -1 +0,0 @@
notepad-plus/PowerEditor/src/icons

View File

@ -1 +0,0 @@
:ext:donho@notepad-plus.cvs.sourceforge.net:/cvsroot/notepad-plus

View File

@ -1,54 +0,0 @@
<html>
<head>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<pre>
<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>
Build Log
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
<h3>------- Build started: Project: xmlUpdater, Configuration: Debug|Win32 -------
</h3>
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Command Lines
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creating temporary file "e:\Sources\notepad++\PowerEditor\src\xmlUpdater\Debug\RSP000002.rsp" with contents
[
/Od /I "E:\Sources\notepad++\PowerEditor\src\TinyXml" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Gm /EHsc /RTC1 /MLd /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP
".\xmlUpdater.cpp"
"\Sources\notepad++\PowerEditor\src\TinyXml\tinyxmlparser.cpp"
"\Sources\notepad++\PowerEditor\src\TinyXml\tinyxmlerror.cpp"
"\Sources\notepad++\PowerEditor\src\TinyXml\tinyxml.cpp"
"\Sources\notepad++\PowerEditor\src\TinyXml\tinystr.cpp"
]
Creating command line "cl.exe @"e:\Sources\notepad++\PowerEditor\src\xmlUpdater\Debug\RSP000002.rsp" /nologo"
Creating temporary file "e:\Sources\notepad++\PowerEditor\src\xmlUpdater\Debug\RSP000003.rsp" with contents
[
/OUT:"Debug/xmlUpdater.exe" /INCREMENTAL /NOLOGO /DEBUG /PDB:"Debug/xmlUpdater.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\Debug\tinystr.obj"
".\Debug\tinyxml.obj"
".\Debug\tinyxmlerror.obj"
".\Debug\tinyxmlparser.obj"
".\Debug\xmlUpdater.obj"
]
Creating command line "link.exe @"e:\Sources\notepad++\PowerEditor\src\xmlUpdater\Debug\RSP000003.rsp""
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Output Window
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Compiling...
xmlUpdater.cpp
tinyxmlparser.cpp
tinyxmlerror.cpp
tinyxml.cpp
e:\Sources\notepad++\PowerEditor\src\TinyXml\tinyxml.cpp(96) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
tinystr.cpp
e:\Sources\notepad++\PowerEditor\src\TinyXml\tinystr.cpp(49) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
e:\Sources\notepad++\PowerEditor\src\TinyXml\tinystr.cpp(95) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
e:\Sources\notepad++\PowerEditor\src\TinyXml\tinystr.cpp(143) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
e:\Sources\notepad++\PowerEditor\src\TinyXml\tinystr.cpp(262) : warning C4244: 'return' : conversion from '__w64 int' to 'unsigned int', possible loss of data
Generating Code...
Linking...
</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>
Results
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>
Build log was saved at "file://e:\Sources\notepad++\PowerEditor\src\xmlUpdater\Debug\BuildLog.htm"
xmlUpdater - 0 error(s), 5 warning(s)</pre></table><table width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>
</font></table></body></html>

Some files were not shown because too many files have changed in this diff Show More