Class: Neovim::Window

Inherits:
RemoteObject show all
Defined in:
lib/neovim/window.rb

Defined Under Namespace

Classes: Cursor

Instance Attribute Summary

Attributes inherited from RemoteObject

#index

Instance Method Summary collapse

Methods inherited from RemoteObject

#==, #initialize, #method_missing, #methods, #respond_to?, #to_msgpack

Constructor Details

This class inherits a constructor from Neovim::RemoteObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Neovim::RemoteObject

Instance Method Details

#cursorCursor

Interface for interacting with the cursor position.

Returns:

See Also:



9
10
11
# File 'lib/neovim/window.rb', line 9

def cursor
  @cursor ||= Cursor.new(self)
end

#get_bufferBuffer

Returns:



# File 'lib/neovim/window.rb', line 76

#get_cursorArray<Fixnum>

Returns:

  • (Array<Fixnum>)


# File 'lib/neovim/window.rb', line 76

#get_heightFixnum

Returns:

  • (Fixnum)


# File 'lib/neovim/window.rb', line 76

#get_option(name) ⇒ Object

Parameters:

  • name (String)

Returns:

  • (Object)


# File 'lib/neovim/window.rb', line 76

#get_positionArray<Fixnum>

Returns:

  • (Array<Fixnum>)


# File 'lib/neovim/window.rb', line 76

#get_tabpageTabpage

Returns:



# File 'lib/neovim/window.rb', line 76

#get_var(name) ⇒ Object

Parameters:

  • name (String)

Returns:

  • (Object)


# File 'lib/neovim/window.rb', line 76

#get_widthFixnum

Returns:

  • (Fixnum)


# File 'lib/neovim/window.rb', line 76

#is_validBoolean

Returns:

  • (Boolean)


# File 'lib/neovim/window.rb', line 76

#set_cursor(pos) ⇒ void

This method returns an undefined value.

Parameters:

  • pos (Array<Fixnum>)


# File 'lib/neovim/window.rb', line 76

#set_height(height) ⇒ void

This method returns an undefined value.

Parameters:

  • height (Fixnum)


# File 'lib/neovim/window.rb', line 76

#set_option(name, value) ⇒ void

This method returns an undefined value.

Parameters:

  • name (String)
  • value (Object)


# File 'lib/neovim/window.rb', line 76

#set_var(name, value) ⇒ Object

Parameters:

  • name (String)
  • value (Object)

Returns:

  • (Object)


# File 'lib/neovim/window.rb', line 76

#set_width(width) ⇒ void

This method returns an undefined value.

Parameters:

  • width (Fixnum)


# File 'lib/neovim/window.rb', line 76