Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » contributing to org.eclipse.jface.text.templates line delimiter problem
contributing to org.eclipse.jface.text.templates line delimiter problem [message #582333] Tue, 07 October 2008 04:22
Tanya is currently offline TanyaFriend
Messages: 2
Registered: July 2009
Junior Member
Hi, i am contributing a new file template for my custom editor. the
extension point is org.eclipse.jface.text.templates
and the template content is specified inside an xml file within my plugin
everything works fine (preferences, variables are correctly resolved,
files are created based on template etc) except for one problem
I can't get the line delimiters to respect the line delimiter workspace
preference. the xml file is always parsed in using unix line delimiters
for non variable content inside the template example
say i have a template //first comment //this should be the class
declaration ${class_declaration}
{

}

the line break between comments and curly braces are always unix encoded
(i am working on os and the xml file was created on os x) is there a way
to get around this?

thank you!!!
-Tanya
Previous Topic:Source code for eclipse.exe?
Next Topic:contributing to org.eclipse.jface.text.templates line delimiter problem
Goto Forum:
  


Current Time: Thu Apr 25 09:16:08 GMT 2024

Powered by FUDForum. Page generated in 0.05441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top