[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-cvs
Subject:    [ jEdit-commits ] SF.net SVN: jedit:[24579] jEdit/trunk
From:       ezust () users ! sourceforge ! net
Date:       2016-11-30 19:02:20
Message-ID: E1cCA99-00034e-SU () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 24579
          http://sourceforge.net/p/jedit/svn/24579
Author:   ezust
Date:     2016-11-30 19:02:20 +0000 (Wed, 30 Nov 2016)
Log Message:
-----------
Made toggle page breaks toggleable action and put into view menu. 

Modified Paths:
--------------
    jEdit/trunk/doc/users-guide/files.xml
    jEdit/trunk/org/gjt/sp/jedit/actions.xml
    jEdit/trunk/org/gjt/sp/jedit/jedit_gui.props

Modified: jEdit/trunk/doc/users-guide/files.xml
===================================================================
--- jEdit/trunk/doc/users-guide/files.xml	2016-11-29 02:51:00 UTC (rev 24578)
+++ jEdit/trunk/doc/users-guide/files.xml	2016-11-30 19:02:20 UTC (rev 24579)
@@ -679,10 +679,10 @@
         </itemizedlist>
 
         <para>
-          In the Utilities - Global Options - Text Area settings, there is an option \
to show page break markers. If selected, horizontal lines will be displayed in the \
                text area to indicate where page breaks will be when printing.</para> \
                
-          
+          In the Utilities - Global Options - Text Area settings, there is an option \
to show page break markers. If selected, horizontal lines will be displayed in the \
text area to indicate where page breaks will be when printing.</para> +
         <para>
-          There is also an action available in Utilities - Global Options - \
Shortcuts to toggle the the page break markers on and off. Page break markers are \
just what they sound like, they show where page breaks would be for printing. Note \
that jEdit is not a word processor, so the page breaks are calculated based on \
printer settings and print font size. It is not possible to set a page break at a \
specific point in a file. +          There is also an action available in the View \
menu, to toggle the the page break markers on and off. Page break markers are just \
what they sound like, they show where page breaks would be for printing. Note that \
jEdit is not a word processor, so the page breaks are calculated based on printer \
settings and print font size. It is not possible to set a page break at a specific \
point in a file.  </para>
     </section>
 

Modified: jEdit/trunk/org/gjt/sp/jedit/actions.xml
===================================================================
--- jEdit/trunk/org/gjt/sp/jedit/actions.xml	2016-11-29 02:51:00 UTC (rev 24578)
+++ jEdit/trunk/org/gjt/sp/jedit/actions.xml	2016-11-30 19:02:20 UTC (rev 24579)
@@ -451,7 +451,7 @@
 	</CODE>
 	<IS_SELECTED>
 		return (jEdit.getBufferSetManager().getScope().equals(BufferSet.Scope.view));
-	</IS_SELECTED>	
+	</IS_SELECTED>
 </ACTION>
 
 <ACTION NAME="bufferset-toggle-exclusive">
@@ -471,8 +471,8 @@
 	</CODE>
 	<IS_SELECTED>
 		return (jEdit.getBufferSetManager().getScope().equals(BufferSet.Scope.editpane));
-	</IS_SELECTED>	
-	
+	</IS_SELECTED>
+
 </ACTION>
 
 <ACTION NAME="goto-line">
@@ -718,7 +718,7 @@
 
 <ACTION NAME="new-view">
 	<CODE>
-	bsm = jEdit.getBufferSetManager(); 
+	bsm = jEdit.getBufferSetManager();
 	if (bsm.getScope() == BufferSet.Scope.global) {
 		jEdit.newView(view);
 	}
@@ -971,6 +971,9 @@
 	jEdit.setBooleanProperty("view.pageBreaks", \
!jEdit.getBooleanProperty("view.pageBreaks"));  EditBus.send(new \
PropertiesChanged(null));  </CODE>
+	<IS_SELECTED>
+		return jEdit.getBooleanProperty("view.pageBreaks");
+	</IS_SELECTED>
 </ACTION>
 
 <ACTION NAME="quick-search" NO_RECORD="TRUE">

Modified: jEdit/trunk/org/gjt/sp/jedit/jedit_gui.props
===================================================================
--- jEdit/trunk/org/gjt/sp/jedit/jedit_gui.props	2016-11-29 02:51:00 UTC (rev 24578)
+++ jEdit/trunk/org/gjt/sp/jedit/jedit_gui.props	2016-11-30 19:02:20 UTC (rev 24579)
@@ -376,6 +376,7 @@
 	 focus-buffer-switcher \
 	 - \
 	 toggle-line-numbers \
+	 print.toggle-show-page-breaks \
 	 toggle-statusbar \
 	 toggle-gutter \
 	 toggle-buffer-switcher \

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic