Develop and Download Open Source Software

Browse Subversion Repository

Diff of /mini_window.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by bluedwarf, Thu Apr 12 05:42:00 2007 UTC revision 32 by bluedwarf, Thu Apr 12 16:59:17 2007 UTC
# Line 40  module Edmaru Line 40  module Edmaru
40        @view = view        @view = view
41        @config = config        @config = config
42        @cursor = Cursor.new(0, 0) # logical cursor        @cursor = Cursor.new(0, 0) # logical cursor
43        @modeline = Edmaru::SYSTEM_MODELINE.new(self)        @modeline = nil
44          @prefix = ""
45    
46        init_ui        init_ui
47      end      end
# Line 52  module Edmaru Line 53  module Edmaru
53      def init_ui      def init_ui
54      end      end
55    
56        #Set the prefix for this window that cannot be deleted by user.
57        #
58        #=== Warning
59        #This method *MUST* *NOT* be overrided in derived classes.    
60        def prefix=(new_prefix)
61          #Prefix cannot contain "\n".
62          if new_prefix.empty?
63            @prefix = ""
64          else
65            @prefix = new_prefix.split("\n")[0]
66          end
67        end
68    
69      #Terminate this view instance.      #Terminate this view instance.
70      #      #
71      #=== Warning      #=== Warning

Legend:
Removed from v.31  
changed lines
  Added in v.32

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26