-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[71_36] focus tag first letter doesn't need to be upper case
## What On the focus toolbar, both `bmatrix` and `Bmatrix` is displayed as `Bmatrix`. This pull request fix the bug. It was ported from branch-1.1, the original author is @Yufeng-shen ## Why Fix ambiguity. ## How to test your changes? ``` xmake r generic-test ``` --------- Co-authored-by: Yufeng Shen <fyshen13@gmail.com>
- Loading branch information
1 parent
5cd1071
commit b634c5f
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
;; | ||
;; MODULE : generic-test.scm | ||
;; DESCRIPTION : Test suite for generic | ||
;; COPYRIGHT : (C) 2022 Yufeng Shen | ||
;; | ||
;; This software falls under the GNU general public license version 3 or later. | ||
;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE | ||
;; in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>. | ||
;; | ||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
|
||
(texmacs-module (generic generic-test) | ||
(:use (generic generic-menu) )) | ||
|
||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
;; generic menu functions | ||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
|
||
(define (regtest-focus-tag-name) | ||
(regression-test-group | ||
"focus-tag-name" "string" | ||
focus-tag-name :none | ||
(test "bmatrix" 'bmatrix "bmatrix") | ||
(test "Bmatrix" 'Bmatrix "Bmatrix") | ||
)) | ||
|
||
(tm-define (regtest-generic) | ||
(let ((n (+ (regtest-focus-tag-name) | ||
))) | ||
(display* "Total: " (object->string n) " tests.\n") | ||
(display "Test suite of generic: ok\n"))) |