[devhelp] Remove some trailing spaces
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Remove some trailing spaces
- Date: Fri, 22 Dec 2017 12:42:21 +0000 (UTC)
commit 60a5364c9ef5cb3e6aa8fd121940e65e1f669e65
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Dec 22 12:56:07 2017 +0100
Remove some trailing spaces
contrib/README | 1 -
misc/devhelp.vim | 22 +++++++++++-----------
misc/gedit-plugin/devhelp.py | 2 +-
3 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/contrib/README b/contrib/README
index 1e9e8d8..df3b436 100644
--- a/contrib/README
+++ b/contrib/README
@@ -1,3 +1,2 @@
These scripts are not maintained by the Devhelp maintainer and suggestions and
comments should be sent directly to the script author.
-
diff --git a/misc/devhelp.vim b/misc/devhelp.vim
index 288fa50..2fb74f5 100644
--- a/misc/devhelp.vim
+++ b/misc/devhelp.vim
@@ -4,17 +4,17 @@
"
" To enable devhelp search:
" let g:devhelpSearch=1
-"
+"
" To enable devhelp assistant:
" let g:devhelpAssistant=1
-"
-" To change the update delay (e.g. to 150ms):
+"
+" To change the update delay (e.g. to 150ms):
" set updatetime=150
-"
+"
" To change the search key (e.g. to F5):
" let g:devhelpSearchKey = '<F5>'
-"
-" To change the length (e.g. to 5 characters) before a word becomes
+"
+" To change the length (e.g. to 5 characters) before a word becomes
" relevant:
" let g:devhelpWordLength = 5
"
@@ -25,7 +25,7 @@
"
" This program is distributed in the hope that it will be useful,
" but WITHOUT ANY WARRANTY; without even the implied warranty of
-" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
" General Public License for more details.
"
" You should have received a copy of the GNU General Public License
@@ -40,7 +40,7 @@ if !exists ('g:devhelpWordLength')
let g:devhelpWordLength = 5
endif
-" Variable for remembering the last assistant word
+" Variable for remembering the last assistant word
let s:lastWord = ''
function! GetCursorWord ()
@@ -68,13 +68,13 @@ function! DevhelpUpdate (flag)
if s:lastWord != s:word && strlen (s:word) > g:devhelpWordLength
" Update Devhelp
call system ('devhelp -a '.s:word.' &')
-
+
" Remember the word for next time
let s:lastWord = s:word
end
else
" Update devhelp search window. Since the user intentionally
- " pressed the search key, the word is not checked for its
+ " pressed the search key, the word is not checked for its
" length or whether it's new
call system ('devhelp -s '.s:word.' &')
end
@@ -106,7 +106,7 @@ if exists ('g:devhelpSearch') && g:devhelpSearch
endif
if exists ('g:devhelpAssistant') && g:devhelpAssistant
- " Update the assistant window if the user hasn't pressed a key for a
+ " Update the assistant window if the user hasn't pressed a key for a
" while. See :help updatetime for how to change this delay
au! CursorHold * nested call DevhelpUpdate('a')
au! CursorHoldI * nested call DevhelpUpdate('a')
diff --git a/misc/gedit-plugin/devhelp.py b/misc/gedit-plugin/devhelp.py
index 870437b..0dfbfe2 100644
--- a/misc/gedit-plugin/devhelp.py
+++ b/misc/gedit-plugin/devhelp.py
@@ -31,7 +31,7 @@ class DevhelpAppActivatable(GObject.Object, Gedit.AppActivatable):
def __init__(self):
GObject.Object.__init__(self)
-
+
def do_activate(self):
self.app.add_accelerator("F2", "win.devhelp", None)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]