Menu

#5 Editor does not support files with other extensions

open
nobody
Editor (14)
3
2004-12-21
2004-11-05
Anonymous
No

I have just one small problem when I associated with my
'ChangeLog.txt': it tries to get the current name from
the edited file and the result is an OutOfBoundsException:

java.lang.StringIndexOutOfBoundsException: String index
out of range: -1
at java.lang.String.substring(String.java:1444)
at
com.teaminabox.eclipse.wiki.editors.WikiDocumentContext.getWikiNameBeingEdited(WikiDocumentContext.java:90)
at
com.teaminabox.eclipse.wiki.editors.WikiBrowser.<init>(WikiBrowser.java:75)
at
com.teaminabox.eclipse.wiki.editors.WikiBrowserEditor.createBrowserPage(WikiBrowserEditor.java:70)
at
com.teaminabox.eclipse.wiki.editors.WikiBrowserEditor.createPages(WikiBrowserEditor.java:80)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:191)

Thanks!

Sinegar.

Discussion

  • Channing Walton

    Channing Walton - 2004-12-21
    • priority: 5 --> 3
     
  • Thomas Hamacher

    Thomas Hamacher - 2008-11-21

    It would be nice, if this bug could be fixed. It is probably not a major investment, but helps a lot. For example writing twiki-pages for maven2-project requires the extension ".twiki". So I always have to write the page using the .wiki-extension and then rename it to .twiki again. Same thing for editing it later. You can image, what this causes when using with version control: xyx!*dsf!

    So here is my vote for this issue!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.