[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/writegood-mode c772829f30 10/47: Blocks of comments are no
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/writegood-mode c772829f30 10/47: Blocks of comments are now checked as well. (See Test Text for examples) |
Date: |
Mon, 12 Dec 2022 21:01:40 -0500 (EST) |
branch: elpa/writegood-mode
commit c772829f309f246245e07a365716b9553df2469b
Author: Benjamin Beckwith <bnbeckwith@gmail.com>
Commit: Benjamin Beckwith <bnbeckwith@gmail.com>
Blocks of comments are now checked as well. (See Test Text for examples)
---
writegood-mode.el | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/writegood-mode.el b/writegood-mode.el
index 2d969157ac..1fe4bb93ee 100755
--- a/writegood-mode.el
+++ b/writegood-mode.el
@@ -2,7 +2,7 @@
;;
;; Author: Benjamin Beckwith
;; Created: 2010-8-12
-;; Version: 1.1
+;; Version: 1.2
;; Last-Updated: 2010-8-13
;; URL: http://github.com/bnbeckwith/writegood-mode
;; Keywords: writing weasel-words grammar
@@ -49,8 +49,11 @@
;;; Test Text:
;;
;; This mode will improve various aspects of your writing in many ways.
-;; The text is searched and aspects are highlighted.
-;; Another benefit is the the finding of duplicates
+;; With this mode text within comments will be searched for the
+;; the duplicate propblem.
+;; The text is searched and aspects (even withing comments) are
+;; highlighted.
+;; Another benefit is the the finding of duplicates.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
@@ -134,7 +137,7 @@
:type 'list)
(defvar writegood-passive-voice-font-lock-keywords-regexp
- (concat
"\\b\\(am\\|are\\|were\\|being\\|is\\|been\\|was\\|be\\)\\b[\s\n]+\\(\\w+ed\\|"
+ (concat
"\\b\\(am\\|are\\|were\\|being\\|is\\|been\\|was\\|be\\)\\b\\([[:space:]]\\|\\s<\\|\\s>\\)+\\([[:word:]]+ed\\|"
(regexp-opt writegood-passive-voice-irregulars)
"\\)")
"Font-lock keywords regexp for passive-voice")
@@ -153,7 +156,7 @@
:group 'writegood)
(defvar writegood-duplicates-font-lock-keywords-regexp
- "\\b\\(\\w+\\)[\s\n]+\\1"
+ "\\b\\([[:word:]]+\\)\\([[:space:]]\\|\\s<\\|\\s>\\)+\\1\\b"
"Font-lock keywords for duplicates")
(defvar writegood-duplicates-font-lock-keywords
- [nongnu] elpa/writegood-mode 416453af5a 38/47: Merge pull request #18 from sten0/master, (continued)
- [nongnu] elpa/writegood-mode 416453af5a 38/47: Merge pull request #18 from sten0/master, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode ecb888b659 01/47: Initial version, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 40c4733cde 25/47: Flesch-Kincaid refactor/cleanup, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 62fa034d08 19/47: Merge pull request #4 from morphling/patch-1, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 3db1a3bbf1 08/47: Added version const and function, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 1dba5de892 29/47: Updated README to highlight new functionality, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode d42e8f5500 37/47: Remove executable bit from README.org and writegood-mode.el, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode d54eadeedb 47/47: Add tooltips to detected text sections, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 599aed98f5 03/47: Fixed the link in the README to the original scripts, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 41d8a193c1 24/47: Flesch-Kincaid tests, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode c772829f30 10/47: Blocks of comments are now checked as well. (See Test Text for examples),
ELPA Syncer <=
- [nongnu] elpa/writegood-mode 07275921a1 22/47: Merge pull request #6 from frankshearar/fix-nits, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 2dcba94eb2 33/47: Whitespaces, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode da662098e4 31/47: Fix issue of dynamically updating regexes, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 3c068f389e 23/47: Updated revision to 1.3, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 15f27658e5 28/47: Updated version string., ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode a99896531a 35/47: Update Artbollocks link, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 572fcbeab0 36/47: Fix Version and Last-Updated to use new policy, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 0bb65772a5 39/47: Add comment about Reading Ease Score, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode 664667dbe3 41/47: Merge pull request #21 from zimoun/master, ELPA Syncer, 2022/12/12
- [nongnu] elpa/writegood-mode ed42d918d9 44/47: Update changelog, ELPA Syncer, 2022/12/12