Ticket #4159 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

New commands GrowInteger and ShrinkInteger for mcedit

Reported by: psprint Owned by:
Priority: trivial Milestone:
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Hi,
I'm submitting a patch that implements the well known Vim adding and subtracting to the number under cursor. The commands are assigned with Alt-a (+1) and Alt-x (-1) keys by the code and they are available for the standard customization under the names GrowInteger and ShrinkInteger. I hope that you'll like the patch.

Attachments

0001-GrowInteger-and-ShrinkInteger-commands-for-mcedit.patch (7.0 KB) - added by psprint 3 years ago.

Change History

comment:1 Changed 3 years ago by andrew_b

  • Priority changed from major to trivial

I don't think this feature will be in demand and I don't like an idea to implement it in the core code. This is an idea for editor plugin, but we don't have plugin API yet.

Apparently, won't fix.

comment:2 Changed 3 years ago by psprint

IMO, the plugin API should be ↔ scripting support, and I would go with Slang, as MC already links with this library.

comment:3 Changed 3 years ago by zaytsev

... or mc2

comment:4 Changed 3 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.