[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-users
Subject:    Re: [ jEdit-users ] Command to create a buffer for file in a
From:       Robert Schwenn <Robert () Schwenn-R ! de>
Date:       2010-09-24 19:04:23
Message-ID: 4C9CF637.5040207 () Schwenn-R ! de
[Download RAW message or body]

It's a two-liner:

buffer1 = jEdit.newFile(view);
buffer1.save(view, "X:/notes/note1.txt", true);

Robert


Andrew Black schrieb:
> [snip] So a macro
> or command "Create Note" might always create the note in say ~/notes
> Can this be done


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-- 
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic