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

Daniel Dekany closed FREEMARKER-19.
-----------------------------------

> 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
>    Affects Versions: 2.3.24
>            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)

Reply via email to