Subversion Repositories LassyPad

Compare Revisions

Ignore whitespace Rev 8 → Rev 12

/LassyPad/bin/Debug/LassyPad.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/bin/Debug/LassyPad.pdb
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/bin/Debug/nee2.rtf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/LassyPad/bin/Debug/nee2.rtf
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/nee3.rtf
===================================================================
--- LassyPad/bin/Debug/nee3.rtf (nonexistent)
+++ LassyPad/bin/Debug/nee3.rtf (revision 12)
@@ -0,0 +1,55 @@
+{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f37\fswiss\fcharset0\fprq2{\*\panose 00000000000000000000}Microsoft Sans Serif;}
+{\f39\froman\fcharset238\fprq2 Times New Roman CE;}{\f40\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f42\froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\froman\fcharset162\fprq2 Times New Roman Tur;}
+{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f46\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
+{\f409\fswiss\fcharset238\fprq2 Microsoft Sans Serif CE;}{\f410\fswiss\fcharset204\fprq2 Microsoft Sans Serif Cyr;}{\f412\fswiss\fcharset161\fprq2 Microsoft Sans Serif Greek;}{\f413\fswiss\fcharset162\fprq2 Microsoft Sans Serif Tur;}
+{\f414\fbidi \fswiss\fcharset177\fprq2 Microsoft Sans Serif (Hebrew);}{\f415\fbidi \fswiss\fcharset178\fprq2 Microsoft Sans Serif (Arabic);}{\f416\fswiss\fcharset186\fprq2 Microsoft Sans Serif Baltic;}
+{\f417\fswiss\fcharset163\fprq2 Microsoft Sans Serif (Vietnamese);}{\f418\fswiss\fcharset222\fprq2 Microsoft Sans Serif (Thai);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;
+\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
+{\stylesheet{\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive \ssemihidden
+Default Paragraph Font;}{\*\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{\*\ts15\tsrowd\trbrdrt\brdrs\brdrw10
+\trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10
+\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \sbasedon11 \snext15 \styrsid13923157 Table Grid;}}
+{\*\latentstyles\lsdstimax156\lsdlockeddef0}{\*\rsidtbl \rsid867099\rsid1314592\rsid13923157}{\*\generator Microsoft Word 11.0.0000;}{\info{\operator Freddie}{\creatim\yr2010\mo7\dy4\hr15\min58}{\revtim\yr2010\mo7\dy4\hr16\min19}{\version3}{\edmins1}
+{\nofpages1}{\nofwords11}{\nofchars68}{\nofcharsws78}{\vern24615}{\*\password 00000000}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}\paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\gutter0\ltrsect
+\widowctrl\ftnbj\aenddoc\donotembedsysfont0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3
+\jcompress\viewkind4\viewscale160\rsidroot1314592 \fet0{\*\wgrffmtfilter 013f}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2
+\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6
+\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
+{\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\qc \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\insrsid13923157 Tim32 - A Summary
+\par
+\par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 Tim32 was }{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\ul\lang2057\langfe1033\langnp2057\insrsid13923157 ...
+\par
+\par .#
+\par
+\par \ltrrow}\trowd \irow0\irowband0\ltrrow\ts15\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10
+\trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid13923157\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb
+\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx1663\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx3434
+\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx5205\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
+\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx6976\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1772\clshdrawnil \cellx8748\pard\plain \ltrpar
+\ql \li0\ri0\nowidctlpar\intbl\wrapdefault\faauto\rin0\lin0\yts15 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid867099 nehe}{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \cell \cell }{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid867099 nehe}{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \cell \cell }{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid867099 Nehe}{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \cell }\pard\plain \ltrpar
+\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \trowd \irow0\irowband0\ltrrow\ts15\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10
+\trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid13923157\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb
+\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx1663\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx3434
+\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx5205\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
+\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx6976\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1772\clshdrawnil \cellx8748\row \ltrrow
+}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\intbl\wrapdefault\faauto\rin0\lin0\yts15 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \cell }{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid867099 nehe}{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \cell \cell }{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid867099 nehe}{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0
+\b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \cell \cell }\pard\plain \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0
+\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157 \trowd \irow1\irowband1\lastrow \ltrrow\ts15\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl
+\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10
+\trftsWidth1\trftsWidthB3\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid13923157\tbllkhdrrows\tbllklastrow\tbllkhdrcols\tbllklastcol\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb
+\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx1663\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx3434
+\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx5205\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
+\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1771\clshdrawnil \cellx6976\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb\clftsWidth3\clwWidth1772\clshdrawnil \cellx8748\row }\pard \ltrpar
+\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\lang2057\langfe1033\langnp2057\insrsid13923157
+\par }{\rtlch\fcs1 \ab\af37\afs26 \ltrch\fcs0 \b\f37\fs26\insrsid13923157 dxc9oyc}{\rtlch\fcs1 \ab\af37\afs17 \ltrch\fcs0 \b\f37\fs17\insrsid13923157
+\par }}
\ No newline at end of file
Index: LassyPad/bin/Debug/nee4.rtf
===================================================================
--- LassyPad/bin/Debug/nee4.rtf (nonexistent)
+++ LassyPad/bin/Debug/nee4.rtf (revision 12)
@@ -0,0 +1,11 @@
+{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\fnil\fcharset0 Courier New;}{\f1\fmodern\fprq1\fcharset0 Courier New;}}
+{\colortbl ;\red0\green0\blue255;\red128\green0\blue128;}
+\viewkind4\uc1\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx9710\pard\intbl\ltrpar\cf1\b\f0\fs60 Freddie Is Awesome!\cf0\b0\f1\fs20\cell\row
+\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx9710\intbl He shall conquer the Earth...\cell\row
+\b\f0\fs40\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx9710\intbl HAHAHAHA\b0\f1\fs20\cell\row
+\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx9710\intbl Lassitor \i\f0 is \i0 allmighty\f1\cell\row
+\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx9710\intbl The Almighty One Winged Chicken \i\f0 can \lang2057\i0 fly...\lang1033\f1\cell\row
+\cf2\f0\fs24\trowd\trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx9710\intbl Tim32.org\cf0\f1\fs20\cell\row
+\pard\ltrpar\par
+}
+
\ No newline at end of file
Index: LassyPad/bin/Debug/nee5.rtf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/nee5.rtf
===================================================================
--- LassyPad/bin/Debug/nee5.rtf (nonexistent)
+++ LassyPad/bin/Debug/nee5.rtf (revision 12)
/LassyPad/bin/Debug/nee5.rtf
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/vb1.txt
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/vb1.txt
===================================================================
--- LassyPad/bin/Debug/vb1.txt (nonexistent)
+++ LassyPad/bin/Debug/vb1.txt (revision 12)
/LassyPad/bin/Debug/vb1.txt
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/nees.txt
===================================================================
--- LassyPad/bin/Debug/nees.txt (nonexistent)
+++ LassyPad/bin/Debug/nees.txt (revision 12)
@@ -0,0 +1,3 @@
+Nee - HeHe
+Nee - Hehe
+Tim32 is ver--y shi-hi-ney
\ No newline at end of file
Index: LassyPad/bin/Debug/data/syntaxes.dat
===================================================================
--- LassyPad/bin/Debug/data/syntaxes.dat (nonexistent)
+++ LassyPad/bin/Debug/data/syntaxes.dat (revision 12)
@@ -0,0 +1,3 @@
+vb:
+linecomment green '
+word blue If,Then,Else,
\ No newline at end of file
Index: LassyPad/bin/Debug/icons/insertPicture.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/insertPicture.png
===================================================================
--- LassyPad/bin/Debug/icons/insertPicture.png (nonexistent)
+++ LassyPad/bin/Debug/icons/insertPicture.png (revision 12)
/LassyPad/bin/Debug/icons/insertPicture.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/files.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/files.png
===================================================================
--- LassyPad/bin/Debug/icons/files.png (nonexistent)
+++ LassyPad/bin/Debug/icons/files.png (revision 12)
/LassyPad/bin/Debug/icons/files.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/plainFile.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/plainFile.png
===================================================================
--- LassyPad/bin/Debug/icons/plainFile.png (nonexistent)
+++ LassyPad/bin/Debug/icons/plainFile.png (revision 12)
/LassyPad/bin/Debug/icons/plainFile.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/undo.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/undo.png
===================================================================
--- LassyPad/bin/Debug/icons/undo.png (nonexistent)
+++ LassyPad/bin/Debug/icons/undo.png (revision 12)
/LassyPad/bin/Debug/icons/undo.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/nee.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/nee.png
===================================================================
--- LassyPad/bin/Debug/icons/nee.png (nonexistent)
+++ LassyPad/bin/Debug/icons/nee.png (revision 12)
/LassyPad/bin/Debug/icons/nee.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/zoomIn.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/zoomIn.png
===================================================================
--- LassyPad/bin/Debug/icons/zoomIn.png (nonexistent)
+++ LassyPad/bin/Debug/icons/zoomIn.png (revision 12)
/LassyPad/bin/Debug/icons/zoomIn.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/zoomOut.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/zoomOut.png
===================================================================
--- LassyPad/bin/Debug/icons/zoomOut.png (nonexistent)
+++ LassyPad/bin/Debug/icons/zoomOut.png (revision 12)
/LassyPad/bin/Debug/icons/zoomOut.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/saveAs.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/saveAs.png
===================================================================
--- LassyPad/bin/Debug/icons/saveAs.png (nonexistent)
+++ LassyPad/bin/Debug/icons/saveAs.png (revision 12)
/LassyPad/bin/Debug/icons/saveAs.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/textColor.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/textColor.png
===================================================================
--- LassyPad/bin/Debug/icons/textColor.png (nonexistent)
+++ LassyPad/bin/Debug/icons/textColor.png (revision 12)
/LassyPad/bin/Debug/icons/textColor.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/text.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/text.png
===================================================================
--- LassyPad/bin/Debug/icons/text.png (nonexistent)
+++ LassyPad/bin/Debug/icons/text.png (revision 12)
/LassyPad/bin/Debug/icons/text.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/zoom.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/zoom.png
===================================================================
--- LassyPad/bin/Debug/icons/zoom.png (nonexistent)
+++ LassyPad/bin/Debug/icons/zoom.png (revision 12)
/LassyPad/bin/Debug/icons/zoom.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/saveAll.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/saveAll.png
===================================================================
--- LassyPad/bin/Debug/icons/saveAll.png (nonexistent)
+++ LassyPad/bin/Debug/icons/saveAll.png (revision 12)
/LassyPad/bin/Debug/icons/saveAll.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/selected.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/selected.png
===================================================================
--- LassyPad/bin/Debug/icons/selected.png (nonexistent)
+++ LassyPad/bin/Debug/icons/selected.png (revision 12)
/LassyPad/bin/Debug/icons/selected.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/redo.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/redo.png
===================================================================
--- LassyPad/bin/Debug/icons/redo.png (nonexistent)
+++ LassyPad/bin/Debug/icons/redo.png (revision 12)
/LassyPad/bin/Debug/icons/redo.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/icons/rtfFile.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/bin/Debug/icons/rtfFile.png
===================================================================
--- LassyPad/bin/Debug/icons/rtfFile.png (nonexistent)
+++ LassyPad/bin/Debug/icons/rtfFile.png (revision 12)
/LassyPad/bin/Debug/icons/rtfFile.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: LassyPad/bin/Debug/New Text Document.txt
===================================================================
--- LassyPad/bin/Debug/New Text Document.txt (nonexistent)
+++ LassyPad/bin/Debug/New Text Document.txt (revision 12)
@@ -0,0 +1,25 @@
+{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f37\froman\fcharset238\fprq2 Times New Roman CE;}
+{\f38\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f40\froman\fcharset161\fprq2 Times New Roman Greek;}{\f41\froman\fcharset162\fprq2 Times New Roman Tur;}{\f42\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
+{\f43\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f44\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f45\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f57\fmodern\fcharset238\fprq1 Courier New CE;}
+{\f58\fmodern\fcharset204\fprq1 Courier New Cyr;}{\f60\fmodern\fcharset161\fprq1 Courier New Greek;}{\f61\fmodern\fcharset162\fprq1 Courier New Tur;}{\f62\fbidi \fmodern\fcharset177\fprq1 Courier New (Hebrew);}
+{\f63\fbidi \fmodern\fcharset178\fprq1 Courier New (Arabic);}{\f64\fmodern\fcharset186\fprq1 Courier New Baltic;}{\f65\fmodern\fcharset163\fprq1 Courier New (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;
+\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;
+\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033
+\snext0 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*
+\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
+\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{
+\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af2\afs20\alang1025 \ltrch\fcs0 \f2\fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \sbasedon0 \snext15 \styrsid16385984 Plain Text;}}
+{\*\latentstyles\lsdstimax156\lsdlockeddef0}{\*\rsidtbl \rsid15608083\rsid16385984}{\*\generator Microsoft Word 11.0.0000;}{\info{\title Nee}{\author Freddie}{\operator Freddie}{\creatim\yr2010\mo7\dy3\hr22\min32}{\revtim\yr2010\mo7\dy3\hr22\min32}
+{\version2}{\edmins0}{\nofpages1}{\nofwords1}{\nofchars10}{\*\company TIM32}{\nofcharsws10}{\vern24615}{\*\password 00000000}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}
+\paperw12240\paperh15840\margl1319\margr1319\margt1440\margb1440\gutter0\ltrsect
+\widowctrl\ftnbj\aenddoc\donotembedsysfont0\donotembedlingdata0\grfdocevents0\validatexml1\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors1\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\formshade\horzdoc\dgmargin\dghspace180
+\dgvspace180\dghorigin1319\dgvorigin1440\dghshow1\dgvshow1
+\jexpand\viewkind1\viewscale160\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct
+\asianbrkrule\rsidroot16385984\newtblstyruls\nogrowautofit \fet0{\*\wgrffmtfilter 013f}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\headery708\footery708\colsx708\endnhere\sectlinegrid360\sectdefaultcl\sectrsid16385984\sftnbj {\*\pnseclvl1
+\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5
+\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang
+{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\s15\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15608083 \rtlch\fcs1 \af2\afs20\alang1025
+\ltrch\fcs0 \f2\fs20\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \af2 \ltrch\fcs0 \b\lang2057\langfe1033\langnp2057\insrsid15608083 Nee!!}{\rtlch\fcs1 \af2 \ltrch\fcs0 \b\lang2057\langfe1033\langnp2057\insrsid15608083
+\par }\pard \ltrpar\s15\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid15608083 {\rtlch\fcs1 \af2 \ltrch\fcs0 \b\lang2057\langfe1033\langnp2057\insrsid15608083
+\par }{\rtlch\fcs1 \af2 \ltrch\fcs0 \lang2057\langfe1033\langnp2057\insrsid15608083 Yay}{\rtlch\fcs1 \af2 \ltrch\fcs0 \lang2057\langfe1033\langnp2057\insrsid15608083\charrsid15608083
+\par }}
\ No newline at end of file
Index: LassyPad/obj/x86/Debug/LassyPad.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/obj/x86/Debug/LassyPad.csproj.GenerateResource.Cache
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/obj/x86/Debug/LassyPad.pdb
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/obj/x86/Debug/LassyPad.MainForm.resources
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: LassyPad/obj/x86/Debug/LassyPad.csproj.FileListAbsolute.txt
===================================================================
--- LassyPad/obj/x86/Debug/LassyPad.csproj.FileListAbsolute.txt (revision 8)
+++ LassyPad/obj/x86/Debug/LassyPad.csproj.FileListAbsolute.txt (revision 12)
@@ -26,3 +26,10 @@
C:\Documents and Settings\Freddie\My Documents\SharpDevelop Projects\LassyPad\LassyPad\bin\Debug\LassyPad.exe
C:\Documents and Settings\Freddie\My Documents\SharpDevelop Projects\LassyPad\LassyPad\bin\Debug\LassyPad.pdb
C:\Documents and Settings\Freddie\My Documents\SharpDevelop Projects\LassyPad\LassyPad\obj\x86\Debug\LassyPad.pdb
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\bin\Debug\LassyPad.exe
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\bin\Debug\LassyPad.pdb
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\obj\x86\Debug\ResolveAssemblyReference.cache
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\obj\x86\Debug\LassyPad.MainForm.resources
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\obj\x86\Debug\LassyPad.csproj.GenerateResource.Cache
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\obj\x86\Debug\LassyPad.exe
+C:\Documents and Settings\Freddie Nash\My Documents\SharpDevelop Projects\LassyPad\LassyPad\obj\x86\Debug\LassyPad.pdb
Index: LassyPad/MainForm.Designer.cs
===================================================================
--- LassyPad/MainForm.Designer.cs (revision 8)
+++ LassyPad/MainForm.Designer.cs (revision 12)
@@ -44,8 +44,15 @@
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton9 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton10 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButton11 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton12 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButton13 = new System.Windows.Forms.ToolStripButton();
this.formatBar = new System.Windows.Forms.ToolStrip();
this.sizeF = new System.Windows.Forms.ToolStripTextBox();
+ this.fontTypeF = new System.Windows.Forms.ToolStripTextBox();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.textColourF = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
@@ -64,8 +71,12 @@
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.syntaxHighlightingToolStripMenuItem = new System.Windows.Forms.ToolStripComboBox();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.tabControl = new System.Windows.Forms.TabControl();
@@ -76,10 +87,15 @@
this.editorMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.saveFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.closeFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
+ this.undoToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.redoToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
this.zoomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.inToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.outToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.treeView = new System.Windows.Forms.TreeView();
+ this.treeViewImageList = new System.Windows.Forms.ImageList(this.components);
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
@@ -106,10 +122,16 @@
this.toolStripButton2,
this.toolStripButton3,
this.toolStripButton4,
- this.toolStripButton9});
+ this.toolStripButton9,
+ this.toolStripSeparator5,
+ this.toolStripButton10,
+ this.toolStripButton11,
+ this.toolStripSeparator8,
+ this.toolStripButton12,
+ this.toolStripButton13});
this.fileBar.Location = new System.Drawing.Point(3, 25);
this.fileBar.Name = "fileBar";
- this.fileBar.Size = new System.Drawing.Size(127, 25);
+ this.fileBar.Size = new System.Drawing.Size(231, 25);
this.fileBar.TabIndex = 1;
this.fileBar.Text = "toolStrip1";
//
@@ -168,11 +190,66 @@
this.toolStripButton9.ToolTipText = "Save All";
this.toolStripButton9.Click += new System.EventHandler(this.ToolStripButton9Click);
//
+ // toolStripSeparator5
+ //
+ this.toolStripSeparator5.Name = "toolStripSeparator5";
+ this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripButton10
+ //
+ this.toolStripButton10.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
+ this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton10.Name = "toolStripButton10";
+ this.toolStripButton10.Size = new System.Drawing.Size(23, 22);
+ this.toolStripButton10.Text = "toolStripButton10";
+ this.toolStripButton10.ToolTipText = "Undo";
+ this.toolStripButton10.Click += new System.EventHandler(this.ToolStripButton10Click);
+ //
+ // toolStripButton11
+ //
+ this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
+ this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton11.Name = "toolStripButton11";
+ this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
+ this.toolStripButton11.Text = "toolStripButton11";
+ this.toolStripButton11.ToolTipText = "Redo";
+ this.toolStripButton11.Click += new System.EventHandler(this.ToolStripButton11Click);
+ //
+ // toolStripSeparator8
+ //
+ this.toolStripSeparator8.Name = "toolStripSeparator8";
+ this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripButton12
+ //
+ this.toolStripButton12.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
+ this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton12.Name = "toolStripButton12";
+ this.toolStripButton12.Size = new System.Drawing.Size(23, 22);
+ this.toolStripButton12.Text = "toolStripButton12";
+ this.toolStripButton12.ToolTipText = "Zoom In";
+ this.toolStripButton12.Click += new System.EventHandler(this.ToolStripButton12Click);
+ //
+ // toolStripButton13
+ //
+ this.toolStripButton13.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.toolStripButton13.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton13.Image")));
+ this.toolStripButton13.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton13.Name = "toolStripButton13";
+ this.toolStripButton13.Size = new System.Drawing.Size(23, 22);
+ this.toolStripButton13.Text = "toolStripButton13";
+ this.toolStripButton13.ToolTipText = "Zoom Out";
+ this.toolStripButton13.Click += new System.EventHandler(this.ToolStripButton13Click);
+ //
// formatBar
//
this.formatBar.Dock = System.Windows.Forms.DockStyle.None;
this.formatBar.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.sizeF,
+ this.fontTypeF,
this.toolStripSeparator3,
this.textColourF,
this.toolStripSeparator4,
@@ -187,7 +264,7 @@
this.toolStripButton8});
this.formatBar.Location = new System.Drawing.Point(3, 0);
this.formatBar.Name = "formatBar";
- this.formatBar.Size = new System.Drawing.Size(272, 25);
+ this.formatBar.Size = new System.Drawing.Size(405, 25);
this.formatBar.TabIndex = 2;
this.formatBar.Text = "toolStrip2";
//
@@ -195,9 +272,18 @@
//
this.sizeF.Name = "sizeF";
this.sizeF.Size = new System.Drawing.Size(50, 25);
+ this.sizeF.Text = "8.5";
this.sizeF.ToolTipText = "Font Size";
this.sizeF.TextChanged += new System.EventHandler(this.SizeFTextChanged);
//
+ // fontTypeF
+ //
+ this.fontTypeF.Name = "fontTypeF";
+ this.fontTypeF.Size = new System.Drawing.Size(100, 25);
+ this.fontTypeF.Text = "Courier New";
+ this.fontTypeF.ToolTipText = "Font Type";
+ this.fontTypeF.TextChanged += new System.EventHandler(this.SizeFTextChanged);
+ //
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
@@ -303,6 +389,7 @@
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
+ this.toolStripMenuItem1,
this.editorToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
@@ -325,7 +412,7 @@
//
this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
- this.newToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
+ this.newToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
this.newToolStripMenuItem.Text = "New";
this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItemClick);
//
@@ -333,7 +420,7 @@
//
this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
- this.openToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
+ this.openToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
this.openToolStripMenuItem.Text = "Open";
this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItemClick);
//
@@ -341,7 +428,7 @@
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
- this.saveToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
+ this.saveToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
this.saveToolStripMenuItem.Text = "Save";
this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItemClick);
//
@@ -349,14 +436,42 @@
//
this.saveAsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveAsToolStripMenuItem.Image")));
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
- this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
+ this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(113, 22);
this.saveAsToolStripMenuItem.Text = "Save As";
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItemClick);
//
+ // toolStripMenuItem1
+ //
+ this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.undoToolStripMenuItem,
+ this.redoToolStripMenuItem});
+ this.toolStripMenuItem1.Name = "toolStripMenuItem1";
+ this.toolStripMenuItem1.Size = new System.Drawing.Size(37, 20);
+ this.toolStripMenuItem1.Text = "Edit";
+ //
+ // undoToolStripMenuItem
+ //
+ this.undoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("undoToolStripMenuItem.Image")));
+ this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
+ this.undoToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
+ this.undoToolStripMenuItem.Text = "Undo";
+ this.undoToolStripMenuItem.ToolTipText = "Undo";
+ this.undoToolStripMenuItem.Click += new System.EventHandler(this.UndoToolStripMenuItemClick);
+ //
+ // redoToolStripMenuItem
+ //
+ this.redoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("redoToolStripMenuItem.Image")));
+ this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
+ this.redoToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
+ this.redoToolStripMenuItem.Text = "Redo";
+ this.redoToolStripMenuItem.ToolTipText = "Redo";
+ this.redoToolStripMenuItem.Click += new System.EventHandler(this.RedoToolStripMenuItemClick);
+ //
// editorToolStripMenuItem
//
this.editorToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.wordWrapToolStripMenuItem});
+ this.wordWrapToolStripMenuItem,
+ this.syntaxHighlightingToolStripMenuItem});
this.editorToolStripMenuItem.Name = "editorToolStripMenuItem";
this.editorToolStripMenuItem.Size = new System.Drawing.Size(47, 20);
this.editorToolStripMenuItem.Text = "Editor";
@@ -366,10 +481,22 @@
this.wordWrapToolStripMenuItem.Checked = true;
this.wordWrapToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem";
- this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(140, 22);
+ this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(237, 22);
this.wordWrapToolStripMenuItem.Text = "Word Wrap";
this.wordWrapToolStripMenuItem.Click += new System.EventHandler(this.WordWrapToolStripMenuItemClick);
//
+ // syntaxHighlightingToolStripMenuItem
+ //
+ this.syntaxHighlightingToolStripMenuItem.Enabled = false;
+ this.syntaxHighlightingToolStripMenuItem.Items.AddRange(new object[] {
+ "None",
+ "Auto-Detect"});
+ this.syntaxHighlightingToolStripMenuItem.Name = "syntaxHighlightingToolStripMenuItem";
+ this.syntaxHighlightingToolStripMenuItem.Size = new System.Drawing.Size(177, 21);
+ this.syntaxHighlightingToolStripMenuItem.Text = "Syntax Highlighting";
+ this.syntaxHighlightingToolStripMenuItem.ToolTipText = "Syntax Highlighting Options";
+ this.syntaxHighlightingToolStripMenuItem.SelectedIndexChanged += new System.EventHandler(this.SyntaxHighlightingToolStripMenuItemSelectedIndexChanged);
+ //
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
@@ -389,6 +516,7 @@
this.tabControl.SelectedIndex = 0;
this.tabControl.Size = new System.Drawing.Size(502, 330);
this.tabControl.TabIndex = 0;
+ this.tabControl.SelectedIndexChanged += new System.EventHandler(this.TabControlSelectedIndexChanged);
//
// welcomeTab
//
@@ -423,6 +551,7 @@
//
// editorView
//
+ this.editorView.AcceptsTab = true;
this.editorView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.editorView.ContextMenuStrip = this.editorMenuStrip;
this.editorView.DetectUrls = false;
@@ -442,16 +571,21 @@
this.editorMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.saveFileToolStripMenuItem,
this.closeFileToolStripMenuItem,
+ this.toolStripSeparator6,
+ this.undoToolStripMenuItem1,
+ this.redoToolStripMenuItem1,
+ this.toolStripSeparator7,
this.zoomToolStripMenuItem});
this.editorMenuStrip.Name = "editorMenuStrip";
- this.editorMenuStrip.Size = new System.Drawing.Size(131, 70);
+ this.editorMenuStrip.Size = new System.Drawing.Size(120, 126);
//
// saveFileToolStripMenuItem
//
this.saveFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveFileToolStripMenuItem.Image")));
this.saveFileToolStripMenuItem.Name = "saveFileToolStripMenuItem";
- this.saveFileToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.saveFileToolStripMenuItem.Size = new System.Drawing.Size(119, 22);
this.saveFileToolStripMenuItem.Text = "Save File";
+ this.saveFileToolStripMenuItem.ToolTipText = "Save File";
this.saveFileToolStripMenuItem.Click += new System.EventHandler(this.SaveFileToolStripMenuItemClick);
//
// closeFileToolStripMenuItem
@@ -458,10 +592,37 @@
//
this.closeFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("closeFileToolStripMenuItem.Image")));
this.closeFileToolStripMenuItem.Name = "closeFileToolStripMenuItem";
- this.closeFileToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.closeFileToolStripMenuItem.Size = new System.Drawing.Size(119, 22);
this.closeFileToolStripMenuItem.Text = "Close File";
+ this.closeFileToolStripMenuItem.ToolTipText = "Close File";
this.closeFileToolStripMenuItem.Click += new System.EventHandler(this.CloseFileToolStripMenuItemClick);
//
+ // toolStripSeparator6
+ //
+ this.toolStripSeparator6.Name = "toolStripSeparator6";
+ this.toolStripSeparator6.Size = new System.Drawing.Size(116, 6);
+ //
+ // undoToolStripMenuItem1
+ //
+ this.undoToolStripMenuItem1.Name = "undoToolStripMenuItem1";
+ this.undoToolStripMenuItem1.Size = new System.Drawing.Size(119, 22);
+ this.undoToolStripMenuItem1.Text = "Undo";
+ this.undoToolStripMenuItem1.ToolTipText = "Undo";
+ this.undoToolStripMenuItem1.Click += new System.EventHandler(this.UndoToolStripMenuItem1Click);
+ //
+ // redoToolStripMenuItem1
+ //
+ this.redoToolStripMenuItem1.Name = "redoToolStripMenuItem1";
+ this.redoToolStripMenuItem1.Size = new System.Drawing.Size(119, 22);
+ this.redoToolStripMenuItem1.Text = "Redo";
+ this.redoToolStripMenuItem1.ToolTipText = "Redo";
+ this.redoToolStripMenuItem1.Click += new System.EventHandler(this.RedoToolStripMenuItem1Click);
+ //
+ // toolStripSeparator7
+ //
+ this.toolStripSeparator7.Name = "toolStripSeparator7";
+ this.toolStripSeparator7.Size = new System.Drawing.Size(116, 6);
+ //
// zoomToolStripMenuItem
//
this.zoomToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -469,15 +630,17 @@
this.outToolStripMenuItem});
this.zoomToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("zoomToolStripMenuItem.Image")));
this.zoomToolStripMenuItem.Name = "zoomToolStripMenuItem";
- this.zoomToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.zoomToolStripMenuItem.Size = new System.Drawing.Size(119, 22);
this.zoomToolStripMenuItem.Text = "Zoom";
+ this.zoomToolStripMenuItem.ToolTipText = "Zoom Options";
//
// inToolStripMenuItem
//
this.inToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("inToolStripMenuItem.Image")));
this.inToolStripMenuItem.Name = "inToolStripMenuItem";
- this.inToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
+ this.inToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
this.inToolStripMenuItem.Text = "Zoom In";
+ this.inToolStripMenuItem.ToolTipText = "Zoom In";
this.inToolStripMenuItem.Click += new System.EventHandler(this.InToolStripMenuItemClick);
//
// outToolStripMenuItem
@@ -484,8 +647,9 @@
//
this.outToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("outToolStripMenuItem.Image")));
this.outToolStripMenuItem.Name = "outToolStripMenuItem";
- this.outToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
+ this.outToolStripMenuItem.Size = new System.Drawing.Size(121, 22);
this.outToolStripMenuItem.Text = "Zoom Out";
+ this.outToolStripMenuItem.ToolTipText = "Zoom Out";
this.outToolStripMenuItem.Click += new System.EventHandler(this.OutToolStripMenuItemClick);
//
// treeView
@@ -493,12 +657,25 @@
this.treeView.BackColor = System.Drawing.SystemColors.InactiveBorder;
this.treeView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.treeView.ImageIndex = 0;
+ this.treeView.ImageList = this.treeViewImageList;
this.treeView.Location = new System.Drawing.Point(0, 0);
this.treeView.Name = "treeView";
+ this.treeView.SelectedImageIndex = 0;
this.treeView.Size = new System.Drawing.Size(249, 330);
this.treeView.TabIndex = 0;
this.treeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeViewNodeMouseClick);
//
+ // treeViewImageList
+ //
+ this.treeViewImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("treeViewImageList.ImageStream")));
+ this.treeViewImageList.TransparentColor = System.Drawing.Color.Transparent;
+ this.treeViewImageList.Images.SetKeyName(0, "rtfFile.png");
+ this.treeViewImageList.Images.SetKeyName(1, "plainFile.png");
+ this.treeViewImageList.Images.SetKeyName(2, "files.png");
+ this.treeViewImageList.Images.SetKeyName(3, "nee.png");
+ this.treeViewImageList.Images.SetKeyName(4, "selected.png");
+ //
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -532,8 +709,8 @@
//
// toolStripContainer1.TopToolStripPanel
//
+ this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.formatBar);
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.fileBar);
- this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.formatBar);
//
// MainForm
//
@@ -566,6 +743,22 @@
this.ResumeLayout(false);
this.PerformLayout();
}
+ private System.Windows.Forms.ToolStripTextBox fontTypeF;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
+ private System.Windows.Forms.ToolStripMenuItem redoToolStripMenuItem1;
+ private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem1;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
+ private System.Windows.Forms.ToolStripButton toolStripButton13;
+ private System.Windows.Forms.ToolStripButton toolStripButton12;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
+ private System.Windows.Forms.ToolStripMenuItem redoToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
+ private System.Windows.Forms.ToolStripButton toolStripButton11;
+ private System.Windows.Forms.ToolStripButton toolStripButton10;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
+ private System.Windows.Forms.ImageList treeViewImageList;
+ private System.Windows.Forms.ToolStripComboBox syntaxHighlightingToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton9;
private System.Windows.Forms.ToolStripButton textColourF;
private System.Windows.Forms.ColorDialog colorDialog1;
Index: LassyPad/MainForm.cs
===================================================================
--- LassyPad/MainForm.cs (revision 8)
+++ LassyPad/MainForm.cs (revision 12)
@@ -18,13 +18,52 @@
///
public partial class MainForm : Form
{
+
+ public class word
+ {
+ public Color colour;
+ public List words;
+ public word(Color colourN, string wordsN)
+ {
+ colour = colourN;
+ words = new List();
+ string[] tempWords = wordsN.Split(',');
+ for (int i = 0; i < tempWords.Length; i++)
+ words.Add(tempWords[i]);
+ }
+
+ }
+
+ public class comment
+ {
+ public Color colour;
+ public string start;
+ public string end;
+
+ public comment(Color colourN, string startN, string endN)
+ {
+ colour = colourN;
+ start = startN;
+ end = endN;
+ }
+
+ public comment(Color colourN, string startN)
+ {
+ colour = colourN;
+ start = startN;
+ end = "\n";
+ }
+ }
+
public class rtfFile
{
public string loc;
public RichTextBox rtfBox;
public bool saved;
-
+ public bool isRtf;
+ public int syntax;
+
public rtfFile(string locN)
{
loc = locN;
@@ -34,7 +73,10 @@
public void save()
{
- rtfBox.SaveFile(loc);
+ if (loc.EndsWith(".rtf"))
+ rtfBox.SaveFile(loc);
+ else
+ rtfBox.SaveFile(loc, RichTextBoxStreamType.PlainText);
saved = true;
}
@@ -42,8 +84,17 @@
{
try
{
- rtfBox.LoadFile(loc);
saved = true;
+ if (loc.EndsWith(".rtf"))
+ {
+ rtfBox.LoadFile(loc);
+ isRtf = true;
+ }
+ else
+ {
+ rtfBox.LoadFile(loc, RichTextBoxStreamType.PlainText);
+ isRtf = false;
+ }
}
catch (Exception ex)
{
@@ -54,9 +105,27 @@
}
}
+ public class syntax
+ {
+
+ public string id;
+ public List words;
+ public List comments;
+
+ public syntax(string idN)
+ {
+ id = idN;
+ words = new List();
+ comments = new List();
+ }
+
+ }
+
public List files = new List();
public int curFileID;
+ public List syntaxes = new List();
+
public int selectionStart;
public int selectionLength;
@@ -94,19 +163,64 @@
public void initAll()
{
initTreeView();
+ loadSyntaxes();
}
public void initTreeView()
{
// welcome
+ treeView.SelectedImageIndex = 4;
+
treeView.Nodes.Add("Welcome", "Welcome");
+ treeView.Nodes["Welcome"].ImageIndex = 3;
+
treeView.Nodes["Welcome"].Nodes.Add("Introduction", "Introduction");
+ treeView.Nodes["Welcome"].Nodes["Introduction"].ImageIndex = 3;
+
treeView.Nodes["Welcome"].Nodes.Add("Help", "Help");
+ treeView.Nodes["Welcome"].Nodes["Help"].ImageIndex = 3;
//
treeView.Nodes.Add("Files", "Files");
+ treeView.Nodes["Files"].ImageIndex = 2;
}
+ public void loadSyntaxes()
+ {
+ System.IO.StreamReader reader = new System.IO.StreamReader("data/syntaxes.dat");
+ string r = reader.ReadToEnd();
+ string[] data = r.Split('\n');
+ string[] d, d2;
+
+ for (int i = 0; i < data.Length; i++)
+ {
+ data[i] = data[i].Replace("\r", "");
+ if (data[i].EndsWith(":"))
+ {
+ syntaxes.Add(new syntax(data[i].Substring(0, data[i].Length - 1)));
+ syntaxHighlightingToolStripMenuItem.Items.Add(data[i].Substring(0, data[i].Length - 1));
+ }
+ else
+ {
+ d = data[i].Split(' ');
+ switch (d[0])
+ {
+ case ("word"):
+ {
+ if (d.Length == 3)
+ syntaxes[syntaxes.Count - 1].words.Add(new word(Color.FromName(d[1]), d[2]));
+ else if (d.Length == 5)
+ {
+ d2 = d[1].Split(',');
+ syntaxes[syntaxes.Count - 1].words.Add(new word(Color.FromArgb(int.Parse(d2[0]), int.Parse(d2[1]), int.Parse(d2[2])), d[2]));
+ }
+ break;
+ }
+ }
+ }
+ }
+ }
+
void TreeViewNodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
if (e.Node.Level == 0)
@@ -173,6 +287,10 @@
tabControl.SelectedIndex = 1;
editorView.Rtf = files[fileID].rtfBox.Rtf;
curFileID = fileID;
+ if (files[curFileID].isRtf)
+ syntaxHighlightingToolStripMenuItem.Enabled = false;
+ else
+ syntaxHighlightingToolStripMenuItem.Enabled = true;
}
public void showFile(string filename)
@@ -184,6 +302,10 @@
{
editorView.Rtf = files[i].rtfBox.Rtf;
curFileID = i;
+ if (files[curFileID].isRtf)
+ syntaxHighlightingToolStripMenuItem.Enabled = false;
+ else
+ syntaxHighlightingToolStripMenuItem.Enabled = true;
return;
}
}
@@ -207,6 +329,9 @@
{
files.Add(new rtfFile("NewFile" + i.ToString() + ".rtf"));
treeView.Nodes["Files"].Nodes.Add("NewFile" + i.ToString() + ".rtf", "NewFile" + i.ToString() + ".rtf");
+ treeView.Nodes["Files"].Nodes["NewFile" + i.ToString() + ".rtf"].ImageIndex = 0;
+ files[files.Count - 1].isRtf = true;
+ // TODO: Eat cake
showFile(files.Count - 1);
return;
}
@@ -244,6 +369,10 @@
if (openRes)
{
treeView.Nodes["Files"].Nodes.Add(openFileDialog1.FileName, openFileDialog1.FileName);
+ if (files[files.Count - 1].isRtf)
+ treeView.Nodes["Files"].Nodes[openFileDialog1.FileName].ImageIndex = 0;
+ else
+ treeView.Nodes["Files"].Nodes[openFileDialog1.FileName].ImageIndex = 1;
showFile(files.Count - 1);
}
else
@@ -266,6 +395,12 @@
}
}
+ public void save()
+ {
+ if (curFileID < files.Count - 1 && curFileID > -1)
+ files[curFileID].save();
+ }
+
public void saveAll()
{
for (int i = 0; i < files.Count; i++)
@@ -291,10 +426,19 @@
void EditorViewTextChanged(object sender, EventArgs e)
{
+ selectionStart = editorView.SelectionStart;
+ selectionLength = editorView.SelectionLength;
+
if (curFileID < files.Count && curFileID > -1)
{
files[curFileID].rtfBox.Rtf = editorView.Rtf;
files[curFileID].saved = false;
+
+ // handle syntax highlighting
+ // HACK: This is REALLY poor!!
+ applySyntax(curFileID);
+ showFile(curFileID);
+ // TODO: Write cool code to fix it!!
}
}
@@ -302,8 +446,10 @@
{
selectionStart = editorView.SelectionStart;
selectionLength = editorView.SelectionLength;
- textColourF.ForeColor = editorView.SelectionColor;
+ // TODO: Find a way to get first char formatting
+// textColourF.ForeColor = editorView.SelectionColor;
// sizeF.Text = editorView.SelectionFont.Size.ToString();
+// fontTypeF.Text = editorView.SelectionFont.FontFamily();
}
#region File stuff
@@ -330,12 +476,12 @@
void ToolStripButton3Click(object sender, EventArgs e)
{
- files[curFileID].save();
+ save();
}
void SaveToolStripMenuItemClick(object sender, EventArgs e)
{
- files[curFileID].save();
+ save();
}
void ToolStripButton4Click(object sender, EventArgs e)
@@ -354,6 +500,36 @@
}
}
+ void ToolStripButton10Click(object sender, EventArgs e)
+ {
+ editorView.Undo();
+ }
+
+ void ToolStripButton11Click(object sender, EventArgs e)
+ {
+ editorView.Redo();
+ }
+
+ void UndoToolStripMenuItemClick(object sender, EventArgs e)
+ {
+ editorView.Undo();
+ }
+
+ void RedoToolStripMenuItemClick(object sender, EventArgs e)
+ {
+ editorView.Redo();
+ }
+
+ void ToolStripButton12Click(object sender, EventArgs e)
+ {
+ zoomIn();
+ }
+
+ void ToolStripButton13Click(object sender, EventArgs e)
+ {
+ zoomOut();
+ }
+
#endregion
#region Format stuff
@@ -409,6 +585,11 @@
}
}
+ void fontTypeFTextChanged(object sender, EventArgs e)
+ {
+ editorView.SelectionFont = new Font(fontTypeF.Text, editorView.SelectionFont.Size, editorView.SelectionFont.Style);
+ }
+
#endregion
void WordWrapToolStripMenuItemClick(object sender, EventArgs e)
@@ -431,7 +612,7 @@
void SaveFileToolStripMenuItemClick(object sender, EventArgs e)
{
- files[curFileID].save();
+ save();
}
void InToolStripMenuItemClick(object sender, EventArgs e)
@@ -444,6 +625,16 @@
zoomOut();
}
+ void UndoToolStripMenuItem1Click(object sender, EventArgs e)
+ {
+ editorView.Undo();
+ }
+
+ void RedoToolStripMenuItem1Click(object sender, EventArgs e)
+ {
+ editorView.Redo();
+ }
+
#endregion
void TextColourFClick(object sender, EventArgs e)
@@ -460,5 +651,75 @@
{
saveAll();
}
+
+ void TabControlSelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (tabControl.SelectedIndex == 1 && files.Count == 0)
+ {
+ newFile();
+ }
+ }
+
+ void SyntaxHighlightingToolStripMenuItemSelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ files[curFileID].syntax = -1;
+
+ if (syntaxHighlightingToolStripMenuItem.SelectedIndex == 1)
+ {
+ for (int i = 0; i < syntaxes.Count; i++)
+ {
+ if (files[curFileID].loc.EndsWith(syntaxes[i].id))
+ {
+ files[curFileID].syntax = i;
+ break;
+ }
+ }
+ }
+ else
+ files[curFileID].syntax = syntaxHighlightingToolStripMenuItem.SelectedIndex - 2;
+
+ applySyntax(curFileID);
+ showFile(curFileID);
+
+ }
+
+ public void clearFormatting(int fileID)
+ {
+ files[fileID].rtfBox.ResetFont();
+ files[fileID].rtfBox.ResetBackColor();
+ files[fileID].rtfBox.ResetForeColor();
+ }
+
+ public void applySyntax(int fileID)
+ {
+ if (files[fileID].isRtf)
+ return;
+
+ clearFormatting(fileID);
+
+ if (files[fileID].syntax != -1)
+ {
+ int pos;
+ string[] data = files[fileID].rtfBox.Text.Split(new char[] { ' ', '\n' });
+ for (int i = 0; i < syntaxes[files[fileID].syntax].words.Count; i++)
+ {
+ pos = 0;
+ for (int j = 0; j < data.Length; j++)
+ {
+ if (syntaxes[files[fileID].syntax].words[i].words.Contains(data[j]))
+ {
+ files[fileID].rtfBox.Select(pos, data[j].Length);
+ files[fileID].rtfBox.SelectionColor = syntaxes[files[fileID].syntax].words[i].colour;
+ }
+ pos += data[j].Length + 1;
+ }
+ }
+ }
+
+ // fix selection (reset by application of syntax, somewhere.....)
+ setSelection();
+
+ }
}
}
/LassyPad/MainForm.resx
165,6 → 165,40
FRN0UwQAEFv9OJDo/4QAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton10.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAFhJREFUOE9jYKAf
+P+fTLtAGmGYJCOQNZJkADaNRBmATyO6HE6vUMUQkOm4DEKWIypAcTmdqDBBtgFdA8kGoDuX9gbgS0RE
pUxiopOoWIApIspWkkyEKwYA0Y2fYVW09JYAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAFlJREFUOE9jYKAN
+P+fQnNBBsAwWUYhG0CWQdgMIMogfBrR5TC8RpFmkGnITsRlGM4ARfcfQeeim4TLAKKjkKgQxmca1QxA
TsIkJyZiopGoMKE4HxBlC1wRAHtGn2G3wcKdAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAHpJREFUOE9jYKA1
mN7y/z8Mk2QXskZ0NkGDkDUce/s/FIaJdg1MIUwjA8P//+iG4HQFumaQRmQDQHy8YYJsAEgjOibJAGxe
IGgAyG8UhQGyASCDSI4F2Yb//0GYrHQA0wyiYdFEdNxj00wwxcEUUKQZZAjMAKJtpKZCAHarKbXxglmH
AAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton13.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAHJJREFUOE9jYKA1
mN7y/z8Mk2QXskZ0NkGDkDUce/s/FIaJdg1MIbJmdENwugKfZqIMQTaAgeH/f3QMMgRvoFLsApDfKAoD
ZANABpEcC7IN//+DMFnpAKYZRMOiiei4x6aZYIqDKaBIM8gQmAFE20hNhQBluS3Z0JHRrAAAAABJRU5E
rkJggg==
</value>
</data>
<metadata name="formatBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>116, 17</value>
</metadata>
262,6 → 296,22
4Q3dewzxc0jcRAAAAABJRU5ErkJggg==
</value>
</data>
<data name="undoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAFhJREFUOE9jYKAf
+P+fTLtAGmGYJCOQNZJkADaNRBmATyO6HE6vUMUQkOm4DEKWIypAcTmdqDBBtgFdA8kGoDuX9gbgS0RE
pUxiopOoWIApIspWkkyEKwYA0Y2fYVW09JYAAAAASUVORK5CYII=
</value>
</data>
<data name="redoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAFlJREFUOE9jYKAN
+P+fQnNBBsAwWUYhG0CWQdgMIMogfBrR5TC8RpFmkGnITsRlGM4ARfcfQeeim4TLAKKjkKgQxmca1QxA
TsIkJyZiopGoMKE4HxBlC1wRAHtGn2G3wcKdAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>326, 17</value>
</metadata>
315,6 → 365,60
ZKUDmGYQDYsmouMem2aCKQ6mgCLNIENgBhBtIzUVAgDQgzMGLrQeBQAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="treeViewImageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>836, 17</value>
</metadata>
<data name="treeViewImageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABI
CgAAAk1TRnQBSQFMAgEBBQEAAQkBAAEEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm
AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM
AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA
ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz
AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ
AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM
AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA
AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA
AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ
AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/
AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA
AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm
ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ
Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz
AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA
AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM
AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM
ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM
Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA
AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM
AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ
AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz
AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm
AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw
AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/4YAAfw/AAL7Afw9AAT7
Afw7AAb7Afw1AAT8CPsB/DMADvsyAAz7AfwzAAT8BvsB/DkABPsB/DsAAvsB/D0AAfz/AD0AASYK9wEm
BAABFQr3ARUEAAHsA+8E7BgAAvcBuwedAvcEAAL3CP8C9wQAAeoD/wHqAe8B7AHqAewXAAImArsBugWd
AiYEAAIVAf8CAAX/AhUEAAHtA/8B7QH/AeoB7QHqAewWAAL3BLsEnQL3BAAC9wH/BgAB/wL3BAAB6wP/
AesB/wHtAesB7QHqAewVAAImBbsDnQImBAACFQj/AhUEAAEVA/8BFQH/AesBFQHrAe0B6gHsFAAC9wG1
BrsBnQL3BAAC9wH/AgAB/wMAAf8C9wQAAesD/wHrAf8BFQHrARUB6wHtAeoUAAImArUGuwImBAACFQj/
AhUEAAHtA/8B7QH/AesB7QHrARUB6wHtFAAC9wHXAbYCtQS7AvcEAAL3Af8GAAH/AvcEAAHqA/8B6gH/
Ae0B6gHtAesBFQHrFAACJgLXAbYCtQO7AiYEAAIVAf8CAAX/AhUEAAHsA+8B7AH/AeoB7AHqAe0B6wEV
FAAC9wTXAbYCtQG7AvcEAAL3Bf8CAAH/AvcGAAHsA+8B7AHvAewB6gHtAesUAAImBdcBtgK1AiYEAAIV
Af8GAAH/AhUJAAHsA+8B7AHqAe0UAAL3B9cBtgL3BAAC9wj/AvcKAAHsA+8B7AHqFAABJgr3ASYEAAEV
CvcBFQsAAewD7wHskgABQgFNAT4HAAE+AwABKAMAAUADAAEgAwABAQEAAQEGAAEBFgAD/wEAAv8GAAL/
BgAB+wH/BgAB+AH/BgAB+AE/BgAB+AEPBgABgAEDBgABgAEBBgABgAEDBgABgAEPBgAB+AE/BgAB+AH/
BgAB+wH/BgAC/wYAAv8GAAL/BgAI/wHAAQMBwAEDAcABPwH/AT8BwAEDAcABAwHAAR8B/gE/AcABAwHA
AQMBwAEPAfwBfwHAAQMBwAEDAcABBwH/AZ8BwAEDAcABAwHAAQMB+AEfAcABAwHAAQMBwAEDAfAB/wHA
AQMBwAEDAcABAwH/AR8BwAEDAcABAwHAAQMBwAEPAcABAwHAAQMBwAEDAv8BwAEDAcABAwHwAQMBtgEx
AcABAwHAAQMB/gEDAbUB7wHAAQMBwAEDAf8BAwG0ASEBwAEDAcABAwH/AYMBtQGtBv8BjgFzCP8L
</value>
</data>
<metadata name="colorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>722, 17</value>
</metadata>