From: <kp...@us...> - 2008-06-04 22:00:46
|
Revision: 12791 http://jedit.svn.sourceforge.net/jedit/?rev=12791&view=rev Author: kpouer Date: 2008-06-04 15:00:45 -0700 (Wed, 04 Jun 2008) Log Message: ----------- I don't think it is really useful Modified Paths: -------------- jEdit/trunk/org/gjt/sp/jedit/jEdit.java Modified: jEdit/trunk/org/gjt/sp/jedit/jEdit.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/jEdit.java 2008-06-04 21:32:27 UTC (rev 12790) +++ jEdit/trunk/org/gjt/sp/jedit/jEdit.java 2008-06-04 22:00:45 UTC (rev 12791) @@ -58,6 +58,7 @@ import org.gjt.sp.jedit.textarea.*; import org.gjt.sp.jedit.visitors.SaveCaretInfoVisitor; import org.gjt.sp.jedit.bufferset.BufferSetManager; +import org.gjt.sp.jedit.bufferset.BufferSet; import org.gjt.sp.util.Log; import org.gjt.sp.util.StandardUtilities; import org.gjt.sp.util.XMLUtilities; @@ -1693,12 +1694,6 @@ else if(result != JOptionPane.NO_OPTION) return false; } - else - { - // if the buffer is untitled, not dirty and alone, no need to close it - if (buffer.isUntitled() && bufferCount == 1) - return false; - } _closeBuffer(view,buffer); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |