Writemonkey 2.5.0 final released

437 views
Skip to first unread message

josip

unread,
Sep 10, 2013, 1:40:40 PM9/10/13
to write...@googlegroups.com
wm 2.5.0 (final) is here. 



version 2.5.0.9 (September 10th 2013)
-------------------------------------

- added: Javascript based plugin engine with ready to use plugins >. More info below. Plugins are locked and will work only with a valid writemonkey donor key.

- added: You can optionally show non printable whitespace characters — paragraph breaks, tabs and redundant spaces. Useful if you want to keep your text file as clean and well formated as possible. Use CTRL+8 to toggle on / off.

- added: Ability to set default wm file extension other than ".txt". Preferences / Open&Save / File format.

- added: Click monkey wisdom (splash screen) to copy it to the clipboard.

- fixed: Nasty crash on combination: blinds on & info bar hidden at startup.

- removed: "Inverse colors in repository" option is no longer available in this version.

- fixed: False positive "The file was saved outside wm" message when saving files to remote machine with out of the sync system clock.

- fixed / changed: Automatic word selection (when selecting with mouse) is now disabled. This allows more precise "character per character" selecting.

- fixed: Various fixes and small improvements.

- changed: Updated sound library IrrKlang to version v1.4.0. for .NET 4.0

- removed: Tweet from wm feature (donors only) was removed due to Twitter API changes and will be ported back as a wm plugin.

## Plugins engine

This will allow 3rd party extensions/plugins to add to and interact with existing core wm functionality. Since no technical documentation exists at the moment, I will just summarize some basics.

Plugins are stored in wm/plugins folder. Each sub folder represents a plugin and it needs to contain at least one *plugin_name.js* file. Wm supports javascript as it's scripting language. It utilizes Jint javascript interpreter for .NET (*http://jint.codeplex.com*) which currently implements all concepts defined in ECMAScript version 3.0. Version 5.0 is not supported at the moment.

Javascript is commonly used for handling web browser's DOM objects but in our case it can interact with:

* .NET 4.0 core functionality – Your scripts can instantiate and use all generic classes and methods. The usage is the same as in C# (.NET flagship language) with some minor differences.
* External .net libraries (dll-s) supplied with a plugin.
* Special "monkey" object that allows you to interact with different aspects of current writemonkey instance. For example:

monkey.selectedText = "this will be inserted at current caret position";

Note that you don't need to use .NET stuff at all. You can just put together simple javascript "macros".

### Modes of deployment

Individual plugin can be initialized when wm starts or it can be deployed later using plugin menu. That depends on plugin's nature. Some plugins need to run all the time, other just do stuff when needed in a single step.

All plugin .js files with names starting with "exe_" will execute at startup. For example: exe_someplugin.js will run and someplugin.js won't.

You can deploy "one step" plugins using plugins menu - CTRL+F10. Run last used plugin with CTRL+ALT+F10. Plugin menu does show "exe" plugins (maked with green icon) but you can't re-run them. Use plugin shortcuts to deploy actions.

If implemented, running plugin can listen for keyboard (and other) events and reacts on them. Since core wm already occupies a big chunk of shortcut space, wm 2.5.0.3 adds a new feature that will allow plugins to assign shortcuts without interfering with existing combinations. To use this extended shortcut space hit CTRL+E, release, and hit another key. Plugin Quick search, for example, uses CTRL+E,S to open quick search field at the top left corner of the screen. Users can modify this shortcut by editing the plugin file.

Plugins can be disabled in Preverences / Misc.

samokhov

unread,
Sep 10, 2013, 3:46:28 PM9/10/13
to write...@googlegroups.com
Yay Christmas!

Any new localization strings?

вторник, 10 сентября 2013 г., 21:40:40 UTC+4 пользователь josip написал:

Murray By Moonlight

unread,
Sep 10, 2013, 8:19:21 PM9/10/13
to Writemonkey
Thank you for all of your work on this Iztok!

M is for Murray (six out of seven government scientists agree)


--
You received this message because you are subscribed to the Google Groups "Writemonkey" group.
To unsubscribe from this group and stop receiving emails from it, send an email to writemonkey...@googlegroups.com.
To post to this group, send email to write...@googlegroups.com.
Visit this group at http://groups.google.com/group/writemonkey.
For more options, visit https://groups.google.com/groups/opt_out.

Bob Curto

unread,
Sep 11, 2013, 9:53:21 AM9/11/13
to write...@googlegroups.com
Thanks for all you work for us! I'm still here, somewhat hiding in my cave, but still here...

jadogg...@gmail.com

unread,
Sep 19, 2013, 1:26:52 PM9/19/13
to write...@googlegroups.com
Thank you sir for your wonderful software, will donate soon as i can :D
btw how much is the lowest amount ? (sorry)

josip

unread,
Sep 19, 2013, 1:52:21 PM9/19/13
to write...@googlegroups.com, jadogg...@gmail.com
There is no lowest amount. Donate as much or as little as you want. 
i.

Virgil Arrington

unread,
Oct 16, 2013, 5:15:48 PM10/16/13
to write...@googlegroups.com
I'm using WM with the Textile markup language. My Headings (h1. h2. etc.) aren't listed in the jumps window (Alt-J). According to the setup, the Headings Jumps has the following syntax (all of which is a foreign language to me:
 
^#{1,6}.+?\n|^(.+)[ \t]*\n[=-]+[ \t]*\n+
 
Is there another setting I need to make in order to see Textile Headings in the jumps window?
 
Virgil 
 

josip

unread,
Oct 19, 2013, 4:10:59 AM10/19/13
to write...@googlegroups.com
This is the mask for Textile headings:
^h[0-9]{1}\..+?\n
i.

Dimas Munhoz Gomez

unread,
Oct 28, 2013, 4:36:25 PM10/28/13
to write...@googlegroups.com
Iztok,

I'm making wm crash a lot because I like to use replacements without space-bar. I have a ton of replacements, and I need almost all of them. 
Perhaps is my computer, but since I'm talking about my big monster, not my weak notebook (it would'nt even open time enough to turn on space-bar option, or erase some of my replacements)...

I send you my profile.

TKS!
Dimas.
201310281833 happy Totoro.config

Dimas Munhoz Gomez

unread,
Oct 28, 2013, 5:01:38 PM10/28/13
to write...@googlegroups.com
I forgot to mention that I'm working with a 400 thousand characters original... Perhaps have something to do with it... Since wm doesn't have an automatic way to divide by chapters (#1), I just focus. Focus and work! Please make a "divide by titles" button! Like a merge, but exactly the opposite. Lazyness makes me a... lazy guy.

And I want a "purge comments" too! But I'm not sure it's a healthy idea, since a noobie would click it without measuring the consequences... So, it's fine. I'll keep merging withou comments...

And a ~highlight inline comments~! OK, now I'm overdoing it...

But, seriously, I'm writing a book full of 
// Note: this is about notes
notes[^1]
[1]: DOE, John. *Book about Tardis: Water Bears* In [link](http://www.link.com). 2013.
//------------
 and I have to transcribe a lot of interviews, so this is how I'm doing it.

Thanks the for the attention. I'll never go back to that develish Gates software again. I know you're probably busy with plugins, but please don't forget the zenwarish mortal guys.

Least, but not last, I will release my book in epub converted by Calibre and have to give a copy for design in Word. Here, on Brazil, I don't know a single designer that even knows what Markdown is. So I'm not sure how to provide the file for, e.g., InDesign. The only issue by far is blockquotes, specially for poems. I use Markdown Extra. <br />, >, <pre></pre>... I really don't know how to make it right.

Best regards!
D.

sper...@gmail.com

unread,
Dec 17, 2013, 11:31:41 AM12/17/13
to write...@googlegroups.com
Any chance that undo and redo will be disabled in flow mode?

josip

unread,
Dec 18, 2013, 6:13:18 AM12/18/13
to write...@googlegroups.com, sper...@gmail.com
Good idea.
i.
Reply all
Reply to author
Forward
0 new messages