1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 02:55:46 +01:00

More command-line edits (now elsewhere in the source).

This commit is contained in:
Ted Pavlic
2009-01-17 12:55:56 -05:00
parent f618833c18
commit 45f6153de4
5 changed files with 11 additions and 11 deletions

View File

@@ -887,7 +887,7 @@ function Events() //{{{
* to be taken literally, prepend it with a "\\". * to be taken literally, prepend it with a "\\".
* @param {boolean} noremap Allow recursive mappings. * @param {boolean} noremap Allow recursive mappings.
* @param {boolean} silent Whether the command should be echoed to the * @param {boolean} silent Whether the command should be echoed to the
* command-line. * command line.
* @returns {boolean} * @returns {boolean}
*/ */
feedkeys: function (keys, noremap, silent) feedkeys: function (keys, noremap, silent)

View File

@@ -656,7 +656,7 @@ const liberator = (function () //{{{
beep: function () beep: function ()
{ {
// FIXME: popups clear the command-line // FIXME: popups clear the command line
if (options["visualbell"]) if (options["visualbell"])
{ {
// flash the visual bell // flash the visual bell
@@ -745,7 +745,7 @@ const liberator = (function () //{{{
// But it's _supposed_ to show the MOW on startup when there are // But it's _supposed_ to show the MOW on startup when there are
// messages, surely? As far as I'm concerned it essentially works // messages, surely? As far as I'm concerned it essentially works
// exactly as it should with the DISALLOW_MULTILINE flag removed. // exactly as it should with the DISALLOW_MULTILINE flag removed.
// Sending N messages to the command-line in a row and having them // Sending N messages to the command line in a row and having them
// overwrite each other is completely broken. I also think many of // overwrite each other is completely broken. I also think many of
// those messages like "Added quick mark" are plain silly but if // those messages like "Added quick mark" are plain silly but if
// you don't like them you can set verbose=0, or use :silent when // you don't like them you can set verbose=0, or use :silent when

View File

@@ -605,7 +605,7 @@ function CommandLine() //{{{
} }
/** /**
* Determines whether the command-line should be visible. * Determines whether the command line should be visible.
* *
* @return {boolean} * @return {boolean}
*/ */
@@ -1026,7 +1026,7 @@ function CommandLine() //{{{
get message() messageBox.value, get message() messageBox.value,
/** /**
* Open the command-line. The main mode is set to * Open the command line. The main mode is set to
* COMMAND_LINE, the extended mode to <b>extendedMode</b>. * COMMAND_LINE, the extended mode to <b>extendedMode</b>.
* Further, callbacks defined for <b>extendedMode</b> are * Further, callbacks defined for <b>extendedMode</b> are
* triggered as appropriate (see {@link Liberator#registerCallback}). * triggered as appropriate (see {@link Liberator#registerCallback}).
@@ -1061,8 +1061,8 @@ function CommandLine() //{{{
}, },
/** /**
* Closes the command-line. This is ordinarily triggered automatically * Closes the command line. This is ordinarily triggered automatically
* by a mode change. Will not hide the command-line immediately if * by a mode change. Will not hide the command line immediately if
* called directly after a successful command, otherwise it will. * called directly after a successful command, otherwise it will.
*/ */
close: function close() close: function close()
@@ -1099,7 +1099,7 @@ function CommandLine() //{{{
}, },
/** /**
* Hides the command-line, and shows any status messages that * Hides the command line, and shows any status messages that
* are under it. * are under it.
*/ */
hide: function hide() hide: function hide()
@@ -1108,7 +1108,7 @@ function CommandLine() //{{{
}, },
/** /**
* Output the given string onto the command-line. With no flags, the * Output the given string onto the command line. With no flags, the
* message will be shown in the status line if it's short enough to * message will be shown in the status line if it's short enough to
* fit, and contains no new lines, and isn't XML. Otherwise, it will be * fit, and contains no new lines, and isn't XML. Otherwise, it will be
* shown in the MOW. * shown in the MOW.

View File

@@ -177,7 +177,7 @@ const util = { //{{{
/** /**
* Copies a string to the system clipboard. If <b>verbose</b> is specified * Copies a string to the system clipboard. If <b>verbose</b> is specified
* the copied string is also echoed to the command-line. * the copied string is also echoed to the command line.
* *
* @param {string} str * @param {string} str
* @param {boolean} verbose * @param {boolean} verbose

View File

@@ -26,7 +26,7 @@ BUGS:
else it chucks, I haven't investigated --djk else it chucks, I haven't investigated --djk
- messages is still broken in several ways - needs testing. - messages is still broken in several ways - needs testing.
=> :ls | :echomsg "Foobar" doesn't add "Foobar" to the already open MOW. => :ls | :echomsg "Foobar" doesn't add "Foobar" to the already open MOW.
=> it often overwrites the open command-line while editing etc. => it often overwrites the open command line while editing etc.
- <tags> and <keyword> autocmd 'keywords' are not available when adding a - <tags> and <keyword> autocmd 'keywords' are not available when adding a
bookmark - they're being set after the observer triggers the autocmd event. bookmark - they're being set after the observer triggers the autocmd event.
- MOW is broken for multiple commands when open E.g. :ls | ls - MOW is broken for multiple commands when open E.g. :ls | ls