Module xCursorPos

Describes the position of the edit cursor within the project timeline.

Functions

__init (...) [Constructor] accepts a single argument for initializing the class
resolve () [Class] Resolve the position, perform some validation steps
get_column () [Class] Get the note/effect-column from the stored position
select () [Class] Attempt to move the pattern-cursor to the stored position
handle_key (key) [Static] Emulate basic pattern navigation when using arrow keys, tab etc..

Fields

self.sequence number, sequence index of pattern
self.track number, track index
self.line number, line index (NB: can contain fractional part)
self.column number, note/effect column index (across visible columns)


Functions

__init (...)
[Constructor] accepts a single argument for initializing the class

Parameters:

  • ... TRACE("xCursorPos __init(...)")
resolve ()
[Class] Resolve the position, perform some validation steps

Returns:

  1. number (pattern index or nil if failed)
  2. renoise.Pattern or string (if failed)
  3. renoise.Track
  4. renoise.PatternTrack
  5. renoise.PatternLine
get_column ()
[Class] Get the note/effect-column from the stored position

Returns:

  1. renoise.NoteColumn/EffectColumn or nil if invalid/out of bounds
  2. string, [error message (string)]
select ()
[Class] Attempt to move the pattern-cursor to the stored position

Returns:

    string, [error message (string)]
handle_key (key)
[Static] Emulate basic pattern navigation when using arrow keys, tab etc..

Parameters:

  • key , table (see Renoise.Viewbuilder.API docs)

Returns:

    boolean, true when key was handled

Fields

self.sequence
number, sequence index of pattern
self.track
number, track index
self.line
number, line index (NB: can contain fractional part)
self.column
number, note/effect column index (across visible columns)
generated by LDoc 1.4.2