This tool is already included with SciTE.
In the SciTE folder is a folder called cSnippet.
v 1.0.5.8
- Fixed ToolTip Timeout
- Added Else condition to rename Category
-> Snippet Holder 1.0.5.8<-
http://www.autoitscript.com/fileman/users/gafrost/CSnippet.GIFhttp://www.autoitscript.com/fileman/users/gafrost/CSnippet1.GIF
http://www.autoitscript.com/fileman/users/gafrost/CSnippet2.GIF
v 1.0.5.7
Now located in Downloads
Updated: Configuration option to show/hide tool tip.
v 1.0.5.6
Now located in Downloads
v 1.0.5.5
Fixed bug with switching between ListView and TreeView, depending on where SciTE is installed would get errors switching
v 1.0.5.4
Fixed bug with Primary Down fireing when initializing Preview/Edit windows
v 1.0.5.3
Found/Fixed bug in Treeview side, copy from clipboard context menu
v 1.0.5.2- (beta 3.1.1.128 or higher required)
Fixed Code to not rely on GuiCtrlRead in advanced mode (broken in beta 3.1.1.131 for treeview)
v 1.0.5.1- (beta 3.1.1.128 or higher required)
Fixed Rename Snippet bug on TreeView Side
v 1.0.5.0- (beta 3.1.1.128 or higher required)
enhanced search for both listview and treeview
Search starts from item selected (if any selected) and wraps back around
For Listview if the category column is visible then the search includes that column
Fixed scroll when searching in listview (now calculates the scroll amount by the rect of the 1st row)
v 1.0.4.9- (beta 3.1.1.128 or higher required)
Fixed Fuzzy Search selection on treeview
v 1.0.4.8- (beta 3.1.1.128 or higher required)
Removed Back-up option (was for when snippets were stored all in 1 file "the ini")
Added Fuzzy Search
v 1.0.4.7- (beta 3.1.1.128 or higher required)
Fixed bugs in the treeview side with guicreate not having min/max buttons
Fixed about box being abble to be created more than once.
Fixed docking of controls
Added min/max width of main gui limitations
v 1.0.4.6- (beta 3.1.1.128 or higher required)
Fixed bugs in the treeview side with the delete/save snippet
v 1.0.4.5- (beta 3.1.1.128 or higher required)
Snippets will be in folders by Category
If have save snippets from previous version, and ini file exists with them listed, it will move the scripts to the appropriate folders by Category
Treeview added back in
Other minor fixes and code consolidation
v 1.0.4.4- 5/25/06
Fixed Duplicate File Name bug....
v 1.0.4.3- 5/09/06
Added Alt+Shift+r "run"
Added Alt+Shift+b "beta run"
These are only valid hot keys when the tooltip is visible
Alt+Shift+c
Alt+Shift+t
Alt+Shift+r
Alt+Shift+b
v 1.0.4.2- 4/16/06
Fixed crash when run on Win9x
v 1.0.4.1 - 4/15/06
Added ClipBoard Monitoring thanks to Larry/Zedna
Added Alt + Shift + t to close the tooltip
v 1.0.4.0 - 4/9/06
Added Clipboard Copy To/From
v 1.0.3.7 - 3/4/06
Fixed bug introduced with allowing scrollable readonly edit control
v 1.0.3.6 - 3/4/06
View/Edit Source screen now scrollable when not in edit mode
Code Snippet will be in the tools with the next release of SciTE from JdeB
v 1.0.3.5 - 3/2/06
Fixed behaviour of code snippet minimized and sending code from scite to code snippet
Attachment Removed: Code Snippet will be in the tools with the next release of SciTE from JdeB
v 1.0.3.4 - 3/1/06
Fixed error with dllclose
v 1.0.3.3 - 2/27/06
Added checking for ilegal characters in snippet name
Fixed renaming of snippet
Fixed New catogory
v 1.0.3.2 - 2/25/06
Added Import of .au3 files
Added Export to .au3 files
CPU usage should be at about 9 - 10% compared to 1.0.3.0 which was above 40%
Last Import and Export location is saved in the ini
v 1.0.3.1 - 2/24/06
Added Config Option (Select Snippet Folder)
Added ToolTips to Toolbar Buttons
Added Gradient Color to Main GUI (Would Like Input On this if it should have gradient or not)
v 1.0.3.0 - 2/24/06
Snippets no longer stored in Ini File
Snippets are now stored in XML Files
Before using this one I suggest Extracting old snippets into a file or SciTE document
and starting over with new ini
v 1.0.2.1 - 2/17/06
Added Toolbar
Disabled Treeview for now due to the GUIRegisterMsg problem
Combined Notify events to 1 function
v 1.0.1.16 - 2/2/06
Added Owner Drawn Menu's
Note: Holger is still trying to find a solution to problems due to using GUIRegisterMsg
v 1.0.1.15 - 1/30/06
Added DoubleClick on TreeView for Preview/Edit
Problem is there seems to be a refresh/paint problem on TreeView just
like the Slider on the ListView Gui
These Problems seem to tie in with using the GUIRegisterMsg
I may be doing something wrong, but I'm stumped if I am
v 1.0.1.14 1/30/06
Fixed some resizing Issues
As of Beta 3.1.1.106 appears that the unexpected program exits are gone.
Still an Issue with the Slider not repainting on the ListView Screen.
v 1.0.1.13 - 1/29/06
Changed the read from Ini file from IniReadSection to Individual IniReads with default values
due to if ini exists but values don't, then don't want a crash
Vertical Slider on right side of gui (Transparency) from 0 to 75 %
v 1.0.1.12 - 1/29/06
Split ListView and TreeView into 2 seperate gui functions for better maintainability
As with v 1.0.11 DoubleClick uses the WM_NOTIFY event
Click is now used by WM_NOTIFY event for the listview also
$GUI_EVENT_PRIMARYDOWN is only used for gui to hide preview
If change view is selected from Config menu the program exits and restarts with new view
Worked on the names of variables some, make it easier to figure out.
TreeView works as in previous versions
if can figure out the events for treeview then might make another revision otherwise this
should be the last barring any bugs found.
v 1.0.1.11 - 1/28/06
Fixed unexpected app exit with insert into scite, thanks again JdeB
Added DoubleClick event to listview (Preview Snippet)
Added back in context menu's on listview now that events are handled for the listview
example SciTEUser.properties(changed for v 1.0.1.10 and higher)
#Modify Context Menu to add Right Click, Add as Snippet
user.context.menu=||Add as Snippet|1117|
# 17 Gary's Code Snippet
command.17.$(file.patterns.au3)="$(SciteDefaultHome)\Snippets\CSnippet.exe" /CreateSnippet
command.name.17.$(file.patterns.au3)=Code Snippets
command.shortcut.17.$(file.patterns.au3)=Ctrl+Alt+s
command.subsystem.17.$(file.patterns.au3)=2
command.save.before.17.$(file.patterns.au3)=2
command.replace.selection.17.$(file.patterns.au3)=0
command.quiet.17.$(file.patterns.au3)=1
v 1.0.1.10 - 1/28/06
Thanks to JdeB for Help with Interface to SciTE utilizing the WM_COPYDATA command
Problem with too much selected in SciTE selected (errored out) corrected with new interface with SciTE
Insert into SciTE now also uses the WM_COPYDATA command
au3.properties change also
for use with v 1.0.1.9 and below
# 17 Gary's Code Snippet
command.17.$(file.patterns.au3)="$(SciteDefaultHome)\Snippets\CSnippet.exe" "$(CurrentSelection)"
command.name.17.$(file.patterns.au3)=Code Snippets
command.shortcut.17.$(file.patterns.au3)=Ctrl+Alt+s
command.subsystem.17.$(file.patterns.au3)=2
command.save.before.17.$(file.patterns.au3)=2
command.replace.selection.17.$(file.patterns.au3)=0
command.quiet.17.$(file.patterns.au3)=1
v 1.0.1.9 - 1/28/06
Fixed a few bugs with the save/new
Added whole lot more error checking
v 1.0.1.8 - 1/27/06
Added Menu Options for TreeView Colors
Background/Foreground/Line
Selections are saved and loaded next time app starts
v 1.0.1.7 - 1/27/06
Found/Fixed bug when adding new snippet/category
v 1.0.1.6 - 1/27/06
Some more clean-up, 1 window now for new/view/edit
fixed a few minor bugs
v 1.0.1.5 - 1/27/06
streamlined the code a little more
utilized the view/edit window for treeview also (combines the modify/preview)
v 1.0.1.4
Moved this from Mike's thread, felt like I was hijacking his thread.
Added the command line option for snipping code from scite
example au3.properties
v 1.0.1.3
Removed most of the context menu options when using listview,
changed the View/Edit screen to a New/View/Edit screen
Dealt with the problem of sections not having any keys and renaming
the sections (fixed)
v 1.0.1.2
Integrated most of MikeOsdx's Snippet Holder into this one, user can select,
Listview or TreeView
TreeView, pretty much acts as MikeOsdx's Snippet Holder except the latest
couple of items added to snippet holder
v 1.0.1.1
Added back in some category functions and fixed a few minor things
Note: this will work with the data file from MikeOsdx's Snippet
Holder also (code modified from MikeOsdx code to a gui i liked better,
didn't like the treeview, but then there will be plenty that won't like the listview)
Thinking of integrating the 2 together and give the user a choice of
treeview/listview via option.
v 1.0.1.0
Added option of docking the edit window on left or right of main window,
just select File, then Dock Edit Window, then either Dock Left or Dock Right,
the window will slide out from that direction.
Updated: Added Resize Event
Gary
Edited by gafrost, 05 March 2007 - 04:50 PM.





