Re: Textadept 5.0 API changes

From: mitchell <c....at.caladbolg.net>
Date: Fri, 6 Jan 2012 07:08:36 -0800 (PST)

> I will post any more API changes to this thread, but this is all for now.

3. `_M.textadept.editing.current_word()` has been renamed to
`select_word()` and does not take any parameters. There is a
`_M.textadept.keys.utils.delete_word()` function that replaces
`current_word('delete')`. You can use it or create a function:

  local function delete_word()
    _M.textadept.editing.select_word()
    buffer:delete_back()
  end
Received on Fri 06 Jan 2012 - 10:08:36 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:28:16 EST