display_title()
Display the new title according to the editor’s current state.
# File ext/json/lib/json/editor.rb, line 1163 def display_title title = TITLE.dup title << ": #@filename" if @filename title << " *" if @changed self.title = title end