moo.ReloadInfo - information for reloading a file
Prev | Chapter 1. medit Lua API | Next

## moo.ReloadInfo - information for reloading a file

Object which contains character encoding and line number to use in `moo.Editor.reload()`.

    gtk.GObject
      |
      +-- moo.ReloadInfo

### new()

    ReloadInfo.new(encoding=nil, line=0)

`encoding` : | `string` or `nil`
`line` : | `integer index (1-based)`

`Returns:` `moo.ReloadInfo`

### dup()

    reload_info.dup()

`Returns:` `moo.ReloadInfo`

### get_line()

    reload_info.get_line()

`Returns:` `integer index (1-based)`

### set_line()

    reload_info.set_line(line)

`line` : | `integer index (1-based)`

Prev | Up | Next
moo.OpenInfo - information for opening a file | Home | moo.SaveInfo - information for saving a file