[Flexiblesusy-commits] [FlexibleSUSY/FlexibleSUSY] e13acf: Fix a bug in WrapText[]

GitHub noreply at github.com
Sat Jun 23 09:22:41 BST 2018


  Branch: refs/heads/development
  Home:   https://github.com/FlexibleSUSY/FlexibleSUSY
  Commit: e13acf4ae3fc311aae9662225234a6216ac43573
      https://github.com/FlexibleSUSY/FlexibleSUSY/commit/e13acf4ae3fc311aae9662225234a6216ac43573
  Author: Jae-hyeon Park <jhyeon at gmail.com>
  Date:   2018-06-23 (Sat, 23 Jun 2018)

  Changed paths:
    M meta/TextFormatting.m
    M test/test_TextFormatting.m

  Log Message:
  -----------
  Fix a bug in WrapText[]

It failed to locate a split point if the maxWidth-th character was a
whitespace.  In such a case, it now splits the line keeping up to
position maxWidth-1 discarding the consecutive whitespaces starting at
position maxWidth.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Flexiblesusy-commits mailing list