freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FREEMARKER-19) 2.3.24 calculates column number with tab size 1 instead of 8
Date Sun, 10 Apr 2016 18:46:25 GMT

     [ https://issues.apache.org/jira/browse/FREEMARKER-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Dekany resolved FREEMARKER-19.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.25

> 2.3.24 calculates column number with tab size 1 instead of 8
> ------------------------------------------------------------
>
>                 Key: FREEMARKER-19
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-19
>             Project: Apache Freemarker
>          Issue Type: Bug
>            Reporter: Daniel Dekany
>            Assignee: Daniel Dekany
>             Fix For: 2.3.25
>
>
> This change has slipped in with the JavaCC update in 2.3.24 (JavaCC has changed the default
tab size from 8 to 1). It affects the column numbers shown in error messages, not the template
output. While tab size 1 is better than 8 for most use cases (such as for placing error markers
in IDE-s), it was 8 so far, so this change is not backward compatible, and the default has
to be changed back to 8. On the same time, we should add a {{tab_size}} configuration setting.
After all, we don't know what the tab size is in an application. Also that allows setting
it to 1 (that's often practical).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message