branch: externals/csharp-mode commit 57bd21bda4edc16671a85c7d6d51484e40a6e640 Merge: 30ae136 ff4111e Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: GitHub <nore...@github.com>
Merge pull request #152 from DamienCassou/typos Fix typos --- csharp-mode.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/csharp-mode.el b/csharp-mode.el index 4e0c088..85c7745 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -2,7 +2,7 @@ ;; Author : Dylan R. E. Moonfire (original) ;; Maintainer : Jostein Kjønigsen <jost...@gmail.com> -;; Created : Feburary 2005 +;; Created : February 2005 ;; Modified : 2018 ;; Version : 0.9.2 ;; Keywords : c# languages oop mode @@ -119,7 +119,7 @@ ;; ;; Method names with a preceding attribute are not fontified. ;; -;; The symbol followng #if is not fontified. It should be treated like +;; The symbol following #if is not fontified. It should be treated like ;; define and get font-lock-variable-name-face . ;; ;; This code doesn't seem to work when you compile it, then @@ -177,7 +177,7 @@ ;; compiled. ;; 0.6.0 - Added the c-filter-ops patch for 5.31.1 which made that ;; function in cc-langs.el unavailable. -;; - Added a csharp-lineup-region for indention #region and +;; - Added a csharp-lineup-region for indentation #region and ;; #endregion block differently. ;; 0.7.0 - Added autoload so update-directory-autoloads works ;; (Thank you, Nikolaj Schumacher) @@ -884,7 +884,7 @@ to work properly with code that includes attributes." (eq (char-after) ?{) ;; open curly ;; is square parenthesis block? - start (let* ((start (point)) ;; used to hold our position, so that we know that - (end)) ;; our code isn't stuck trying to look for a non-existant sexp. + (end)) ;; our code isn't stuck trying to look for a non-existent sexp. (and (eq (char-after) 91) ;; open square (while (and (eq (char-after) 91) (not (eq start end))) @@ -1799,7 +1799,7 @@ to the beginning of the prior namespace." (defconst csharp--imenu-expression (let* ((single-space "[ \t\n\r\f\v]") (optional-space (concat single-space "*")) - (bol "^[ \t]*") ;; BOL shouldnt accept lineshift. + (bol "^[ \t]*") ;; BOL shouldn't accept lineshift. (space (concat single-space "+")) (access-modifier (regexp-opt '( "public" "private" "protected" "internal" "static" "sealed" "partial" "override" "virtual" @@ -1933,7 +1933,7 @@ to the beginning of the prior namespace." type "\\)" optional-space "{" optional-space - ;; unless we are super-specific and expect the accesors, + ;; unless we are super-specific and expect the accessors, ;; lots of weird things gets slurped into the name. ;; including the accessors themselves. (regexp-opt '("get" "set")) @@ -1946,7 +1946,7 @@ to the beginning of the prior namespace." type "\\)" optional-space "{" optional-space - ;; unless we are super-specific and expect the accesors, + ;; unless we are super-specific and expect the accessors, ;; lots of weird things gets slurped into the name. ;; including the accessors themselves. (regexp-opt '("get" "set")) @@ -1980,7 +1980,7 @@ to the beginning of the prior namespace." "\\]" "\\)" optional-space "{" optional-space - ;; unless we are super-specific and expect the accesors, + ;; unless we are super-specific and expect the accessors, ;; lots of weird things gets slurped into the name. ;; including the accessors themselves. (regexp-opt '("get" "set"))) 1) @@ -2160,7 +2160,7 @@ This is done by modifying the contents of `RESULT' in place." (setf (cdr item) (csharp--imenu-sort (cdr item))))) ;; sort main list - ;; (Enums always sort last though, because they dont have + ;; (Enums always sort last though, because they don't have ;; sub-menus) (csharp--imenu-sort result)))