Guest User

Untitled

a guest
Jun 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. class EditView
  2. # returns a highlight object
  3. def create_highlight(offset, length, colour, transient=false)
  4.  
  5. end
  6.  
  7. # returns an array of all currently visible highlight objects
  8. def highlights
  9. end
  10. end
  11.  
  12. class Highlight
  13. attr_reader :offset, :length, :colour
  14.  
  15. # removes this highlight from the editview
  16. def remove
  17. end
  18. end
Add Comment
Please, Sign In to add comment