Snippet Manager

v1.8 now available!

  • (11 Pages)
  • +
  • « First
  • 9
  • 10
  • 11

157 Replies - 29803 Views - Last Post: 02 March 2009 - 11:13 AM

#146 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 23 September 2008 - 03:31 AM

Just made that treeview soooo much easier to use.

Updates:
-It's got a context menu. (New/Open/Delete/Rename)
-When updateTreeView() was called, all of the nodes collapsed again. Now, it remembers which were open, and re-expands them
-Got rid of the .snippet extension on the end of each node, it was unnecessary. (Although now the Snippet Manager is only compatible with .snippet files)

And that last point leads me on to file associations. I guess it's gotta be done.
And icons. I hate designing icons -_-

But version 2 will be available very soon, along with the code, on SourceForge.

I'll keep you posted.

:)

EDIT:
Wow, I've been doing this for nearly a month now... look at the date on the SyntaxBox class! :o
Was This Post Helpful? 0
  • +
  • -

#147 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 23 September 2008 - 11:56 AM

Just been prettying it up a bit.

Made it possible to rename snippets by clicking twice, with a pause in between.

What else...

Well, basically, I've just been making it stable.

Wow. This tab has been open for about 2 hours, and I haven't even posted. :wacko:
Was This Post Helpful? 0
  • +
  • -

#148 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 23 September 2008 - 03:54 PM

Well, I really feel like I've made a lot of progress today.

Granted, there are still a few bugs. But I've cleaned up about 90% of them.

Plus, I've added license/readme forms.

The tree view is a lot more accessible now~ easy to rename, delete, create, etc.

I'd really appreciate if you could try it out, and leave feedback.

It's not complete yet, there are still a few bugs with syntax highlighting (very few, only the case sensitivity, and when you delete a comment, the current text of comment (green) will remain that colour. Easy to fix, but I'm too tired. :zzz:

So, here's the application:
Attached File  Snippet_Manager.zip (40.52K)
Number of downloads: 43

And here's the source:
Attached File  Source_Code.zip (534.17K)
Number of downloads: 47
Be warned, the code is a bit of a mess. I'll order it and comment it so it's easier to read before publishing it properly, but until then, this is just how I've put it together. Get inside the mind of gabehabe! :)
Was This Post Helpful? 0
  • +
  • -

#149 gbertoli3   User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 41
  • View blog
  • Posts: 1,166
  • Joined: 23-June 08

Re: Snippet Manager

Posted 23 September 2008 - 03:59 PM

I downloaded the Source and it looks Nice! :^:
Was This Post Helpful? 0
  • +
  • -

#150 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 23 September 2008 - 04:12 PM

HA! It's a right state!

Thanks though :)
Was This Post Helpful? 0
  • +
  • -

#151 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 23 September 2008 - 04:24 PM

Who's gonna be the first to download it from SourceForge?

http://sourceforge.n...snippetmanager/

:)

Get that download counter up! :^:
Was This Post Helpful? 0
  • +
  • -

#152 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 01 March 2009 - 07:18 AM

I don't know whether to consider this a necro or just a bump. ;)

So I decided that since this piece of buggy shite has almost got half a thousand downloads, I'd rewrite it. Make it more stable, easier to use, etc etc. Oh, and did I mention it's going cross-platform? :)

I've gotten a little better since I did this, so it's time to revisit it. I have a syntax highlighter and (buggy for now) line numbering. The GUI is together, but with next to no functionality. When I get a little more done, I'll be posting the new version.

It's being written in C++ with wxWidgets.
Was This Post Helpful? 0
  • +
  • -

#153 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 01 March 2009 - 09:24 AM

Really early demo. Basic syntax highlighting + crappy line numbering.

The clipboard recorder works fine. (AFAIK)

Gonna put the tree control together next, to list the snippets like the old one did. Gonna see what other neat stuff I can add in, too. :)

Download is available here: http://www.gabehabe....ppetManager.rar

edit - Forgot to add the syntax file. :blush:

Re-uploaded it, should be fine now.

This post has been edited by gabehabe: 01 March 2009 - 09:46 AM

Was This Post Helpful? 0
  • +
  • -

#154 dom96   User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 256
  • Joined: 29-December 08

Re: Snippet Manager

Posted 01 March 2009 - 02:23 PM

Hey, i tried your snippet manager, great job, i have a suggestion for the syntax highlighting though, don't use .SelectedColor(or .SelectionColor or whatever) because that method is kind of slow, especially in super large codes, you shoudl try using the rtf and regex combination, i have a SyntaxRTB that i made if you'd like to use tell me and i'll post it here, other than that awesome job.
Was This Post Helpful? 0
  • +
  • -

#155 AdamSpeight2008   User is offline

  • MrCupOfT
  • member icon

Reputation: 2298
  • View blog
  • Posts: 9,535
  • Joined: 29-May 08

Re: Snippet Manager

Posted 01 March 2009 - 02:50 PM

Downloaded it to try but i get the following error on extraction

Z:\Programming\wxSnippetManager.rar: CRC failed in wxmsw28u_gcc_custom.dll. The file is corrupt
Was This Post Helpful? 0
  • +
  • -

#156 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 02 March 2009 - 12:45 AM

@dom thanks for the offer, but this is wxWidgets - the rtf control is windows only. :)

@Adam that's odd, I've packaged a few apps with that very dll and I've never had any other complaints.
Was This Post Helpful? 0
  • +
  • -

#157 dom96   User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 256
  • Joined: 29-December 08

Re: Snippet Manager

Posted 02 March 2009 - 09:29 AM

View Postgabehabe, on 1 Mar, 2009 - 11:45 PM, said:

@dom thanks for the offer, but this is wxWidgets - the rtf control is windows only. :)

@Adam that's odd, I've packaged a few apps with that very dll and I've never had any other complaints.


Are you not working on the C#(.net) version no more ? Or was it wxWidgets all this time ?

This post has been edited by dom96: 02 March 2009 - 09:30 AM

Was This Post Helpful? 0
  • +
  • -

#158 gabehabe   User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1440
  • View blog
  • Posts: 11,025
  • Joined: 06-February 08

Re: Snippet Manager

Posted 02 March 2009 - 11:13 AM

It was C#.NET, but the rewrite is C++ with wxWidgets. :)
Was This Post Helpful? 0
  • +
  • -

  • (11 Pages)
  • +
  • « First
  • 9
  • 10
  • 11