Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class EditView
- # returns a highlight object
- def create_highlight(offset, length, colour, transient=false)
- end
- # returns an array of all currently visible highlight objects
- def highlights
- end
- end
- class Highlight
- attr_reader :offset, :length, :colour
- # removes this highlight from the editview
- def remove
- end
- end
Add Comment
Please, Sign In to add comment