moo.ReloadInfo - information for reloading a file
Prev | Chapter 3. medit Python API | Next

## moo.ReloadInfo - information for reloading a file

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

    gobject.Object
      |
      +-- moo.ReloadInfo

### ReloadInfo()

    ReloadInfo(encoding=None, line=-1)

`encoding` : | `str` or `None`
`line` : | `integer index (0-based)`

`Returns:` `moo.ReloadInfo`

### dup()

    reload_info.dup()

`Returns:` `moo.ReloadInfo`

### get_line()

    reload_info.get_line()

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

### set_line()

    reload_info.set_line(line)

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

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