Skip to content
This repository
Browse code

changes for version 1.10

  • Loading branch information...
commit 2f46e2d5679aab192dbc96e95caed55494955a19 1 parent d5e987f
creator authored
2  ecb-layout.el
@@ -200,7 +200,7 @@ layout with `ecb-redraw-layout'"
200 200 ;; - `ecb-delete-window'
201 201 ;; - `ecb-split-window-vertically'
202 202 ;; - `ecb-split-window-horizontally'
203   -(defcustom ecb-split-edit-window 'horizontal
  203 +(defcustom ecb-split-edit-window 'nil
204 204 "*Sets how and if the edit window should be splitted.
205 205 But be aware: ECB offers four somehow intelligent
206 206 \"window-\(un)splitting\"-functions:
43 ecb.el
@@ -6,7 +6,7 @@
6 6 ;; Maintainer: Jesper Nordenberg <mayhem@home.se>
7 7 ;; Keywords: java, class, browser
8 8 ;; Created: Jul 2000
9   -;; Version: 1.0
  9 +;; Version: 1.10
10 10
11 11 ;; This program is free software; you can redistribute it and/or modify
12 12 ;; it under the terms of the GNU General Public License as published by
@@ -58,6 +58,8 @@
58 58 ;; All files you have ever opened can be shown in the ECB history buffer. This
59 59 ;; buffer can also be cleared in several ways by `ecb-clear-history'.
60 60 ;;
  61 +;; Execute `ecb-show-help' for more information.
  62 +;;
61 63 ;; TODO:
62 64 ;; - Fix XEmacs incompatibilities (I need help on this one!)
63 65 ;; - More layouts
@@ -76,6 +78,7 @@
76 78 (require 'tree-buffer)
77 79 (require 'ecb-layout)
78 80 (require 'ecb-util)
  81 +(require 'wid-browse)
79 82
80 83 (require 'assoc) ;; Semantic fix
81 84
@@ -202,7 +205,7 @@ and then activating ECB again!"
202 205 :group 'ecb-sources
203 206 :type 'string)
204 207
205   -(defcustom ecb-source-file-regexp "\\(\\(M\\|m\\)akefile\\|.*\\.\\(java\\|el\\|c\\|cc\\|h\\|hh\\|txt\\|html\\|mk\\|xml\\|dtd\\)\\)$"
  208 +(defcustom ecb-source-file-regexp "\\(\\(M\\|m\\)akefile\\|.*\\.\\(java\\|el\\|c\\|cc\\|h\\|hh\\|txt\\|html\\|mk\\|xml\\|dtd\\|texi\\|info\\|bnf\\|cpp\\|hpp\\)\\)$"
206 209 "*Files matching this regular expression will be shown in the source
207 210 buffer."
208 211 :group 'ecb-sources
@@ -559,7 +562,7 @@ highlighting of the methods if `ecb-font-lock-methods' is not nil."
559 562 (when (and ecb-show-variables variables)
560 563 (let ((var-node node))
561 564 (when (eq ecb-show-variables 'collapsed)
562   - (setq var-node (tree-node-new "[Variables]" 0
  565 + (setq var-node (tree-node-new "[Variables]" 1
563 566 nil))
564 567 (tree-node-add-child node var-node))
565 568 (if ecb-sort-variables
@@ -930,6 +933,9 @@ For further explanation see `ecb-clear-history-behavior'."
930 933 ;; Klaus
931 934 (if shift-pressed
932 935 (ecb-mouse-over-node node)
  936 + (when (= 1 (tree-node-get-type node))
  937 + (tree-node-toggle-expanded node)
  938 + (tree-buffer-update))
933 939 (when (tree-node-get-data node)
934 940 (ecb-find-file-and-display ecb-path-selected-source
935 941 (if ecb-split-edit-window
@@ -955,7 +961,7 @@ For further explanation see `ecb-clear-history-behavior'."
955 961 (when (stringp doc)
956 962 (message doc))))))
957 963
958   -;; ECB help stuff, solen something from recentf.el
  964 +;; ECB help stuff, stolen something from recentf.el
959 965
960 966 (defconst ecb-help-message
961 967 "
@@ -963,22 +969,22 @@ For further explanation see `ecb-clear-history-behavior'."
963 969 General description
964 970 ===================
965 971
966   -ECB offers a few ECB-windows for browsing your sources comfortable. There are
967   -currently three different types of ECB-windows:
  972 +ECB offers a few ECB-windows for browsing your sources comfortable with the
  973 +mouse. There are currently three different types of ECB-windows:
968 974
969 975 1. ECB Directories:
970 976
971 977 Select directories and, if enabled, source files, in the \"*ECB Directories*\"
972 978 buffer by clicking the left mouse button on the directory name or by hitting
973   -ENTER/RETURN when the cursor is placed on the item line. Directory names with a
974   -\"[+]\" symbol after \(or before) them can be expanded/collapsed by
  979 +ENTER/RETURN when the cursor is placed on the item line. Directory names with
  980 +a \"[+]\" symbol after \(or before) them can be expanded/collapsed by
975 981 left-clicking on the symbol, pressing the TAB key when the cursor is placed on
976 982 the package line or clicking the middle mouse button on the item. Right
977 983 clicking on an item will open a popup menu where different operations on the
978 984 item under the mouse cursor can be performed.
979 985
980 986 Pressing F1 in the packages buffer will update it. Pressing F2 will open the
981   -ECB customization group in the edit window ECB Sources:
  987 +ECB customization group in the edit window.
982 988
983 989 2. ECB Sources:
984 990
@@ -1036,8 +1042,8 @@ so you can read the whole item.
1036 1042 Redrawing the ECB-layout:
1037 1043 -------------------------
1038 1044
1039   -If you have unintenionally destroyed the ECB-layout, you can always restore
1040   -the layout with calling `ecb-redraw-layout'.
  1045 +If you have unintenionally destroyed the ECB-layout, you can always restore the
  1046 +layout with calling `ecb-redraw-layout'.
1041 1047
1042 1048
1043 1049 Working with the edit-window of ECB:
@@ -1131,12 +1137,6 @@ Available hooks:
1131 1137 - `ecb-deactivate-hook'
1132 1138 Look at the documentation of these hooks to get description.")
1133 1139
1134   -(defun ecb-help-test ()
1135   - (interactive)
1136   - (with-output-to-temp-buffer "*ECB-help"
1137   - (princ ecb-help-message)
1138   - (print-help-return-message)))
1139   -
1140 1140
1141 1141 (defun ecb-cancel-dialog (&rest ignore)
1142 1142 "Cancel the ECB dialog."
@@ -1164,7 +1164,16 @@ These are the special commands of `ecb-dialog-mode' mode:
1164 1164 (setq mode-name "ecb-dialog")
1165 1165 (use-local-map ecb-dialog-mode-map))
1166 1166
  1167 +;; The following version shows the help-message in the utility window with
  1168 +;; clickable links but not with a cancel button.
1167 1169 (defun ecb-show-help ()
  1170 + (interactive)
  1171 + (with-output-to-temp-buffer "*ECB-help"
  1172 + (princ ecb-help-message)))
  1173 +
  1174 +;; This version shows the help-message in the edit-window with not-clickable
  1175 +;; links but with a cancel button.
  1176 +(defun ecb-show-help-1 ()
1168 1177 "Shows the online help of ECB."
1169 1178 (interactive)
1170 1179 (if (not (ecb-point-in-edit-window))
8 history.txt
... ... @@ -1,4 +1,4 @@
1   -Version 1.10 (2001-03-17):
  1 +Version 1.10 (2001-03-25):
2 2 --------------------------
3 3
4 4 - Automatic expansion of the directory tree.
@@ -20,6 +20,12 @@ Version 1.10 (2001-03-17):
20 20 - The methods buffer can now be automatically updated when the source
21 21 file is saved.
22 22
  23 +- Help text is available with "ecb-show-help".
  24 +
  25 +- Moving the mouse over a node shows the name in the
  26 + mini-buffer. Currently this only works when follow-mouse is
  27 + activated.
  28 +
23 29
24 30 Version 1.0 (2001-03-17):
25 31 -------------------------
12 html/ecb.html
... ... @@ -1,4 +1,4 @@
1   -<!-- This file was automatically generated by Emacs 20.7.1 at Thu Mar 22 23:39:25 2001, do not edit! -->
  1 +<!-- This file was automatically generated by Emacs 20.7.1 at Sun Mar 25 13:58:28 2001, do not edit! -->
2 2 <html>
3 3 <head>
4 4 <title>ECB - Emacs Code Browser</title>
@@ -7,8 +7,8 @@
7 7 <body bgcolor='white'>
8 8
9 9 <h2>ECB - Emacs Code Browser</h2>
10   -<p>Updated: 2001-03-22</p>
11   -<p><b>Download the latest version: <a href='http://ftp1.sourceforge.net/ecb/ecb-1.0.zip'>ecb-1.0.zip</a></b></p>
  10 +<p>Updated: 2001-03-25</p>
  11 +<p><b>Download the latest version: <a href='http://ftp1.sourceforge.net/ecb/ecb-1.10.zip'>ecb-1.10.zip</a></b></p>
12 12 <p><b>This project is hosted by <a href='http://sourceforge.net/projects/ecb'><img src='http://sourceforge.net/sflogo.php?group_id=17484&type=1' width='88' height='31' border='0' alt='SourceForge Logo'></a></b></p>
13 13 <p><b>The CVS tree can be accessed <a href='http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/?cvsroot=ecb'>here</a>.</b></p>
14 14
@@ -20,7 +20,7 @@
20 20
21 21 <h3>Installation and Setup</h3>
22 22 <ol><li>Download and unzip the latest version of ECB.
23   -<li>Put the directory 'ecb-1.0' in your Emacs load path.
  23 +<li>Put the directory 'ecb-1.10' in your Emacs load path.
24 24 <li>Add "(require 'ecb)" to your .emacs file.
25 25 <li>Call "ecb-activate".
26 26 <li>Select the '*ECB Directories*' window (usually top-left) and press F2. This will open the customization buffer for ECB.
@@ -44,8 +44,8 @@
44 44 <p>It's easier to navigate and scroll the ECB buffers if you install <a href='follow-mouse.el'>follow-mouse.el</a> and activate your <a href='mwheel.el'>wheel mouse</a> in Emacs.</p>
45 45
46 46 <h3>Download</h3>
47   -<p>The latest version: <a href='http://ftp1.sourceforge.net/ecb/ecb-1.0.zip'>ecb-1.0.zip</a></p>
48   -<p>Older versions:<br><a href='jde-jcb-0.04.zip'>jde-jcb-0.04.zip</a><br><a href='jde-jcb-0.03.zip'>jde-jcb-0.03.zip</a><br><a href='jde-jcb-0.02.zip'>jde-jcb-0.02.zip</a><br><a href='jde-jcb-0.01.zip'>jde-jcb-0.01.zip</a></p>
  47 +<p>The latest version: <a href='http://ftp1.sourceforge.net/ecb/ecb-1.10.zip'>ecb-1.10.zip</a></p>
  48 +<p>Older versions:<br><a href='http://ftp1.sourceforge.net/ecb/ecb-1.0.zip'>ecb-1.0.zip</a><br><a href='jde-jcb-0.04.zip'>jde-jcb-0.04.zip</a><br><a href='jde-jcb-0.03.zip'>jde-jcb-0.03.zip</a><br><a href='jde-jcb-0.02.zip'>jde-jcb-0.02.zip</a><br><a href='jde-jcb-0.01.zip'>jde-jcb-0.01.zip</a></p>
49 49
50 50 <h3>Developers</h3>
51 51 <p><a href='mailto:mayhem@home.se'>Jesper Nordenberg</a><br><a href='mailto:klaus.berndl@sdm.de'>Klaus Berndl</a></p>
6 html/main.el
... ... @@ -1,10 +1,11 @@
1 1 (require 'html-helper)
2 2
3   -(setq version "1.0")
  3 +(setq version "1.10")
4 4 (setq dirname (concat "ecb-" version))
5 5 (setq zipname (concat dirname ".zip"))
  6 +(setq download-url "http://ftp1.sourceforge.net/ecb/")
6 7 (setq url (concat "http://ftp1.sourceforge.net/ecb/" zipname))
7   -(setq date "2001-03-22")
  8 +(setq date "2001-03-25")
8 9
9 10 (h-doc
10 11 "ecb.html"
@@ -50,6 +51,7 @@
50 51 (h-h3 "Download")
51 52 (h-p "The latest version: " (h-link url zipname))
52 53 (h-p "Older versions:" h-br
  54 + (h-link (concat download-url "ecb-1.0.zip") "ecb-1.0.zip") h-br
53 55 (h-link "jde-jcb-0.04.zip") h-br
54 56 (h-link "jde-jcb-0.03.zip") h-br
55 57 (h-link "jde-jcb-0.02.zip") h-br
4 readme.txt
... ... @@ -1,5 +1,5 @@
1   -Readme for the Emacs Code Browser (ECB) v1.0
2   ---------------------------------------------
  1 +Readme for the Emacs Code Browser (ECB) v1.10
  2 +---------------------------------------------
3 3
4 4 About
5 5 -----

0 comments on commit 2f46e2d

Please sign in to comment.
Something went wrong with that request. Please try again.