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 #25406] Tue, 07 October 2008 04:22 Go to next message
Eclipse UserFriend
Originally posted by: besiaka13.yahoo.com

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
Re: contributing to org.eclipse.ui.editors.templates line delimiter problem [message #25448 is a reply to message #25406] Tue, 07 October 2008 04:32 Go to previous message
Eclipse UserFriend
Originally posted by: besiaka13.yahoo.com

sorry extension point i am using is org.eclipse.ui.editors.templates
Re: contributing to org.eclipse.ui.editors.templates line delimiter problem [message #582361 is a reply to message #25406] Tue, 07 October 2008 04:32 Go to previous message
Tanya is currently offline TanyaFriend
Messages: 2
Registered: July 2009
Junior Member
sorry extension point i am using is org.eclipse.ui.editors.templates
Previous Topic:contributing to org.eclipse.jface.text.templates line delimiter problem
Next Topic:initializeDefaultPreferences() issue
Goto Forum:
  


Current Time: Fri Apr 26 08:41:50 GMT 2024

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

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

Back to the top