Skip to content

Commit

Permalink
Trying a fix for wrapping long content containing no spaces.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.textmate.org/trunk/Bundles/Source.tmbundle@9209 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
JEG2 committed Mar 25, 2008
1 parent 707ab20 commit e4c8e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Commands/Reformat Comment.tmCommand
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
Expand Down
2 changes: 1 addition & 1 deletion Support/bin/rubywrap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def first_word
def words_to(n)
re = Regexp.new("^(.{0,#{n}})(?:\s|$)")
text =~ re
$1
$1 || text[0...n]
end
end

Expand Down

0 comments on commit e4c8e9c

Please sign in to comment.