This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jan 27, 2010 2:01 PM by Dan Cioca  
Dan Cioca IDEA Plugin Contest Winner 210 posts since
Feb 24, 2006
Currently Being Moderated

Jan 21, 2010 2:27 PM

[HOW TO] Trim right edges of a Document programmatically

I see that when saving a com.intellij.openapi.editor.Document, the right edges are being trimmed. Is there a way to call this functionality? My virtual files are not local file system files, and saving is not done on "focus-lost", but rather intentionally. I want to do this trimming business when "save" is pressed.

More Like This

  • Retrieving data ...