Skip to content

Commit

Permalink
modified: Text/smart_word_wrap.rb
Browse files Browse the repository at this point in the history
modified:   Text/smart_word_wrap_lazy.rb
  • Loading branch information
trizen committed Jul 30, 2022
1 parent aa5c773 commit 375760e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Text/smart_word_wrap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# Author: Daniel "Trizen" Șuteu
# License: GPLv3
# Date: 15th October 2013
# http://trizenx.blogspot.com
# http://trizenx.blogspot.ro/2013/11/smart-word-wrap.html
# Email: <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
# https://trizenx.blogspot.com
# https://trizenx.blogspot.com/2013/11/smart-word-wrap.html

# Smart word wrap algorithm
# See: http://en.wikipedia.org/wiki/Word_wrap#Minimum_raggedness
# See: https://en.wikipedia.org/wiki/Word_wrap#Minimum_raggedness

class SmartWordWrap

Expand Down
7 changes: 3 additions & 4 deletions Text/smart_word_wrap_lazy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# Author: Daniel "Trizen" Șuteu
# License: GPLv3
# Date: 15th October 2013
# http://trizenx.blogspot.com
# http://trizenx.blogspot.ro/2013/11/smart-word-wrap.html
# Email: <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
# https://trizenx.blogspot.com
# https://trizenx.blogspot.com/2013/11/smart-word-wrap.html

# Smart word wrap algorithm
# See: http://en.wikipedia.org/wiki/Word_wrap#Minimum_raggedness
# See: https://en.wikipedia.org/wiki/Word_wrap#Minimum_raggedness

class SmartWordWrap

Expand Down

0 comments on commit 375760e

Please sign in to comment.