Scripts

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

Re: Scripts

Post by Zini » 15 Apr 2013, 14:17

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: 202
Joined: 21 Dec 2012, 19:41

Re: Scripts

Post by wheybags » 15 Apr 2013, 17:52

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: 750
Joined: 15 Aug 2011, 14:56

Re: Scripts

Post by Ace (SWE) » 15 Apr 2013, 21:21

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: 1292
Joined: 26 Aug 2011, 02:04

Re: Scripts

Post by Greendogo » 16 Apr 2013, 06:36

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: 5134
Joined: 06 Aug 2011, 15:16

Re: Scripts

Post by Zini » 16 Apr 2013, 09:53

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: 202
Joined: 21 Dec 2012, 19:41

Re: Scripts

Post by wheybags » 18 Apr 2013, 11:59

Copy and paste is a pain in the arse...

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: Scripts

Post by Zini » 18 Apr 2013, 12:02

On Linux? Not really. Yay for the middle mouse button.

User avatar
psi29a
Posts: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Scripts

Post by psi29a » 18 Apr 2013, 12:08

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: 1292
Joined: 26 Aug 2011, 02:04

Re: Scripts

Post by Greendogo » 18 Apr 2013, 12:18

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: 3448
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Scripts

Post by psi29a » 18 Apr 2013, 13:32

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

Who is online

Users browsing this forum: No registered users and 3 guests