[
https://issues.jboss.org/browse/JBIDE-11526?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-11526:
-----------------------------------------------
I agree that JBoss Properties Editor should not take as default windows line endings. But
it should not take it from Window -> Preferences -> General -> Workspace ->
New text file line delimiter, either. This preference is designed for new file wizards
only. Editors take default line delimiter from
AbstractDocument.getDefaultLineDelimiter()which returns system property
'line.separator' if the file has yet no line delimiter, otherwise it returns the
very first line delimiter.
So, steps to the issue should be modified:
EXECUTE: Open *.properties file with more than one line in JBoss Properties editor.
EXECUTE: Add new entries either in Source tab, or in Properties tab.
ASSERT: In both cases new lines end with the same line delimiter as the first entry.
EXECUTE: Open empty *.properties file.
EXECUTE: Add new entries either in Source tab, or in Properties tab.
ASSERT: In both cases new lines end with system line delimiter.
JBoss Properties Editor does not honor the line ending settings from
eclipse
----------------------------------------------------------------------------
Key: JBIDE-11526
URL:
https://issues.jboss.org/browse/JBIDE-11526
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.Beta2
Environment: eclipse java-1.7.0-openjdk-amd64
Reporter: Arne Plöse
Assignee: Viacheslav Kabanovich
Priority: Minor
Fix For: 3.3.0.Beta3
The JBoss Properties Editor does not honor the line ending settings of eclipse - it uses
windows line endings.
Settings expected where Window -> Preferences -> General -> Workspace -> New
text file line delimiter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira