[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 173/352: Täydennetään funktion wcheck-spelling-suggestions kuvau
From: |
Stefan Monnier |
Subject: |
[elpa] 173/352: Täydennetään funktion wcheck-spelling-suggestions kuvausta |
Date: |
Mon, 07 Jul 2014 14:03:40 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit c0dd9bf6eabf0ce3b538d0da1262cd6ae7bf1e07
Author: Teemu Likonen <address@hidden>
Date: Thu Aug 5 05:56:23 2010 +0000
Täydennetään funktion wcheck-spelling-suggestions kuvausta
---
wcheck-mode.el | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index ba6d13a..0700007 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -1062,15 +1062,26 @@ the text and (3) marker at the end of the text."
;;;###autoload
(defun wcheck-spelling-suggestions (pos &optional event)
- "Get spelling suggestions for marked text at POS.
+ "Offer spelling suggestions for marked text.
+
+This function is usually called through a right mouse button
+event or interactively by a user. In both cases function's
+arguments are filled automatically.
+
If buffer position POS is on marked text (and substitute
suggestion program is properly configured) show a menu of
-suggested substitutions. If user chooses one of them the original
-marked text is replaced with the chosen substitute. Optional
-EVENT argument is a mouse event. If it's non-nil use a graphic
-toolkit's menu (when available) for selecting suggestions.
-Otherwise use a text menu. Function returns the replacement text
-or nil if nothing was replaced."
+suggested substitutions. When this function is called
+interactively POS is automatically the current point position.
+Optional EVENT argument is a mouse event which is present if this
+function is called through a right mouse button click on marked
+text. If EVENT is non-nil use a graphic toolkit's menu (when
+available) for selecting suggestions. Otherwise use a text menu.
+
+When user chooses one of the suggestions from the menu the
+original marked text is replaced with the chosen substitute.
+Function returns the replacement text (string) or nil if nothing
+was replaced."
+
(interactive "d")
(let ((overlay-data (or (wcheck-marked-text-at pos)
(wcheck-marked-text-at (1- pos))))
- [elpa] 132/352: Vielä yksi (when (buffer-live-p ...) ...) -tarkistus, (continued)
- [elpa] 132/352: Vielä yksi (when (buffer-live-p ...) ...) -tarkistus, Stefan Monnier, 2014/07/07
- [elpa] 137/352: Käytetään varmuuden vuoksi ei-destruktiivisia keinoja, Stefan Monnier, 2014/07/07
- [elpa] 145/352: Hyväksytään args-asetus vain, jos listan jäsenet ovat merkkijonoja, Stefan Monnier, 2014/07/07
- [elpa] 135/352: Revert "Yksinkertaistetaan tietokantafunktiota", Stefan Monnier, 2014/07/07
- [elpa] 181/352: Muutetaan korjausehdotuspuskurin ulkonäköä, Stefan Monnier, 2014/07/07
- [elpa] 177/352: wcheck-choose-suggestion-minibuffer siirtää kursorin rivin loppuun, Stefan Monnier, 2014/07/07
- [elpa] 183/352: Vaihdetaan esimerkkiin "Finnish" entisen "suomi":n tilalle, Stefan Monnier, 2014/07/07
- [elpa] 171/352: Täydennetään funktioiden kuvauksia ym. pientä järjestelyä, Stefan Monnier, 2014/07/07
- [elpa] 170/352: Välitetään hiiritapahtuma oikolukuehdotusfunktiolle, Stefan Monnier, 2014/07/07
- [elpa] 184/352: Lisätään ;;;###autoload, Stefan Monnier, 2014/07/07
- [elpa] 173/352: Täydennetään funktion wcheck-spelling-suggestions kuvausta,
Stefan Monnier <=
- [elpa] 185/352: Customize-asetusten hienosäätöä, Stefan Monnier, 2014/07/07
- [elpa] 188/352: Customize tukemaan uusia read-or-skip-faces-toimintoja, Stefan Monnier, 2014/07/07
- [elpa] 180/352: Tulostetaan [Empty string], mikäli korvattava teksti on tyhjä merkkijono, Stefan Monnier, 2014/07/07
- [elpa] 179/352: Uusi ominaisuus: oikolukuohjelma voi olla myös Emacs Lisp -funktio, Stefan Monnier, 2014/07/07
- [elpa] 186/352: Muutetaan face-predikaattitoiminto selkeämmäksi, Stefan Monnier, 2014/07/07
- [elpa] 187/352: Muutetaan wcheck-query-language-data-funktion rakennetta, Stefan Monnier, 2014/07/07
- [elpa] 190/352: Asennusohjeen kielellistä säätöä, Stefan Monnier, 2014/07/07
- [elpa] 194/352: Muutetaan virheilmoitus yhdenmuotoiseksi muiden vastaavien kanssa, Stefan Monnier, 2014/07/07
- [elpa] 189/352: Muuttujien dokumentit ja esimerkkiasetukset ajan tasalle, Stefan Monnier, 2014/07/07
- [elpa] 195/352: Päivitetään versionumero: 2010.12.27, Stefan Monnier, 2014/07/07