Develop and Download Open Source Software

Browse Subversion Repository

Diff of /buffer.rb

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

revision 27 by bluedwarf, Wed Apr 11 04:51:28 2007 UTC revision 32 by bluedwarf, Thu Apr 12 16:59:17 2007 UTC
# Line 121  module Edmaru Line 121  module Edmaru
121          raise "Invalid position was specified for 'insert' method."          raise "Invalid position was specified for 'insert' method."
122        end        end
123    
124        if str.empty?        return if str.empty? # Nothing to be inserted.
         # Nothing to be inserted.  
         return  
       end  
125    
126        if str.include?("\n")        if str.include?("\n")
127          new_lines = str.split(/\n/, -1)          new_lines = str.split(/\n/, -1)

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

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