Skip navigation.

Scratchpad 0.3.0 released

Bag of Software
Bag of Software

Scratchpad is a lightweight but useful spatial text editor. This is the first release after the port to Vala, which means that Scratchpad runs natively now and does not require Mono anymore. Another new feature is tag-based replacing, as demonstrated in this screencast:

http://dborg.wordpress.com/files/2006/09/scratchpad-replace.gif

Homepage and screenshots can be found at: http://dborg.wordpress.com/scratchpad/

Vala is a new programming language for the GNOME platform, which offers a C#-like syntax and modern language features but compiles directly to C code and is closely tight to GLib. More information can be found at: http://vala.paldo.org/

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
That's really really cool. by Anonymous George (not verified)

Thanks, and I'm glad that

Thanks, and I'm glad that you noticed. :-) Vim is indeed an inspiration for me and my editor of choice on the command line. I'm not an expert vim-user though, so could you tell me which features in particular you are missing?

Good to have you back scratchpad by Anonymous George (not verified)

You will have to make

You will have to make install (atm to /usr or /usr/local) before scratchpad can find the UI definitions. I should make it put out a more useful error message...

I will try to come up with a replacement for the revisions, but I really think it needs to be a desktop feature. One thing I want to do is to integrate with bazaar (and subversion) with the project oriented interface, which will be my priority from now.

This is a cool approach to

This is a cool approach to text editing!

I would dare to remove completely the file menu (but your program should never crash =), autosaving the document often (you now miss the save menu entry =), and implementing something like the new Vim "time machine" functionality to browse the saved versions of the document...

Andrea

Thanks. The file menu

Thanks. The file menu already only contains Close and an option to open the current folder of the document. ;-)

I'd like to have something like a permanent document history as a replacement for the revision browser. It should probably be a desktop feature though, as proposed by Seth Nickell for GNOME Storage back in the days... I find it hard to come up with a convincing application-based concept, especially since I can't store any extra data in plain text files. If the history is stored outside of the document file, then it can easily go out of sync if it isn't managed by the desktop.

Thanks. The file menu by Anonymous George (not verified)

To close the document/editor

To close the document/editor should be enough the window close button, i'm not an expert in interfaces, but having two ways to do the same task IMHO isn't optimal.

I would agree that the close button is enough, but there is also a useful shortcut (Ctrl+W) and I would like all important shortcuts to be listed in the menu, so the user can easily look them up.

Vala

I have no idea how good or otherwise this language is, but thankyou to anyone involved in it! I've often wanted a direct way to use GLib without having to go through the hell of all those macros you need for every GObject type, and any project that might make things easier is very welcome.

Hear hear...

That's what kept me from writing gtk apps so far and use qt instead (depite that I better like the lgpl license of gtk). I know that you can use gtkmm and that it has a very nice API. But using vala you can omit the overhead of the c++ wrappers, and get a bunch of new language features e.g. lambda.

It looks very promising. I'm looking forward to try it out.