Scripts

Involved development of the OpenMW construction set.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Scripts

Post by Zini »

Indecisive. On the one hand I am all for having a collection of small application working in concert instead of one large monolithic application. On the other hand I do not see the benefit in this particular situation. The usefulness of of editing script files in an external editor would be severely limited. On "modern" desktops we just don't have the IPC-framework for supporting the same kind of functionality in an external editor that an internal one can provide; plus there are some things that you just can't do without the context of the ESX files.
wheybags
Posts: 207
Joined: 21 Dec 2012, 19:41

Re: Scripts

Post by wheybags »

I literally just meant open it in e.g vim, because for a vim user anything else is painful.
I think it'd be a handy feature, and if there is stuff that the inbuilt editor does that the external one doesn't, then, well, it is optional.
User avatar
Ace (SWE)
Posts: 887
Joined: 15 Aug 2011, 14:56

Re: Scripts

Post by Ace (SWE) »

You could always just edit the script with vim and stuff it back into the CS when you're done with it?

If not by saving the file and editing, then at least with copy+paste.
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: Scripts

Post by Greendogo »

Exactly what Ace said. Copy and paste is obviously the way to go there if you want to use an external editor.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Scripts

Post by Zini »

Well, we could always have an editor plugin that offers editing (in a variety of) external editors. But I don't like to have this feature in the editor core, because it will be of no use for most users and will contribute to UI clutter.
wheybags
Posts: 207
Joined: 21 Dec 2012, 19:41

Re: Scripts

Post by wheybags »

Copy and paste is a pain in the arse...
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Scripts

Post by Zini »

On Linux? Not really. Yay for the middle mouse button.
User avatar
psi29a
Posts: 5360
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Scripts

Post by psi29a »

wheybags wrote:Copy and paste is a pain in the arse...
wut?

highlight word then middle mouse click somewhere, boom, done.

You cannot get any better than that.

edit: If dealing with multiple files, this doesn't make much sense.
Last edited by psi29a on 18 Apr 2013, 13:30, edited 1 time in total.
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: Scripts

Post by Greendogo »

wheybags wrote:Copy and paste is a pain in the arse...
No, it's really not.*
BrotherBrick wrote:highlight word then middle mouse click somwhere, boom, done.
That's not a thing on most computers; methinks.

*Unless you're talking about in some other context than we're thinking; like when dealing with a lot of scripts all at once. Then I'd say an import feature would be more useful.
User avatar
psi29a
Posts: 5360
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Scripts

Post by psi29a »

Greendogo wrote:
BrotherBrick wrote:highlight word then middle mouse click somwhere, boom, done.
That's not a thing on most computers; methinks.
http://www.ghacks.net/2006/09/11/copy-p ... se-button/
http://www.addictivetips.com/windows-ti ... use-click/
http://www.sevenforums.com/hardware-dev ... -copy.html

For ever problem (of which Linux isn't one), a solution. :)
Post Reply