Faculty of Information Technology
Software Engineering Group

Ticket #165: libbasic_fix_1_of_1_rev_715bb22ed5cd_Issue__165__Not_all_spaces_are_created_equal.patch

File libbasic_fix_1_of_1_rev_715bb22ed5cd_Issue__165__Not_all_spaces_are_created_equal.patch, 1.0 KB (added by Patrik Svestka, 5 years ago)

fixing the return value

  • UserPreferences.st

    # HG changeset patch
    # User Patrik Svestka <patrik.svestka@gmail.com>
    # Date 1504784774 -7200
    #      Thu Sep 07 13:46:14 2017 +0200
    # Branch jv
    # Node ID 715bb22ed5cd7366220b0f0e8636c8d7b542b18e
    # Parent  9b225469dca3563baa6d31281c4aab4ad5e97fc0
    Issue #165: Not all spaces are created equal
    
    Fixed `UserPreferences >> trimBlankLines:`
    
    reason: was missing ^ (return)
    
    https://swing.fit.cvut.cz/projects/stx-jv/ticket/165
    
    diff -r 9b225469dca3 -r 715bb22ed5cd UserPreferences.st
    a b  
    49484948trimBlankLines:aBoolean
    49494949    "if true, blank lines are trimmed to zero size in the editor"
    49504950
    4951     self at:#trimBlankLines put:aBoolean
     4951    ^ self at:#trimBlankLines put:aBoolean
    49524952
    49534953    "
    49544954     UserPreferences current trimBlankLines
     
    49574957     UserPreferences current trimBlankLines:false
    49584958     UserPreferences current trimBlankLines
    49594959    "
     4960
     4961    "Modified: / 07-09-2017 / 11:32:43 / svestkap"
    49604962!
    49614963
    49624964whitespaceWordSelectMode