app/models/timed_script2/split_processor.rb
##
# Move leading space from the beginning of the second segment to the end of the first one
#
Move leading space from the beginning of the second segment to the end of the first one
Move leading space from the beginning of the second segment to the end of the first one
def prefer_trailing_space
      if b.text =~ %r{^(\s+)(.*)$}
        space, _ = $1, $2
        shift_backward(space)
      end
    end
def prefer_trailing_space if b . text =~ %r{ ^( \s +)(.*)$ } space , _ = $1 , $2 shift_backward ( space ) end end
Move leading space from the beginning of the second segment to the end of the first one
Move leading space from the beginning of the second segment to the end of the first one