diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2017-02-03 11:33:57 +0100 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2017-02-03 11:33:57 +0100 |
commit | 94567184565c184f7593d90ad6c845c30d4123e0 (patch) | |
tree | 1fa09dc0fd0ef57e026af7dd2a18b750b690c67c | |
parent | 9d45ae4034d1ef7999a598f6a5b2433632e92ed6 (diff) |
Modified gedit syntax file to work with flashcard extension (.flc)
-rw-r--r-- | flashcard.lang | 2 | ||||
-rwxr-xr-x | flashcards | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/flashcard.lang b/flashcard.lang index dd113b4..93c794f 100644 --- a/flashcard.lang +++ b/flashcard.lang @@ -2,7 +2,7 @@ <language id="flashcard" _name="Flashcard" version="2.0" _section="Markup"> <metadata> <property name="mimetypes">text/plain</property> - <property name="globs">*.</property> + <property name="globs">*.flc</property> </metadata> <styles> @@ -6,7 +6,7 @@ from pathlib import Path from random import shuffle cardRegex = "CARD: " -prefixLength = 6 +prefixLength = len(cardRegex) # Returns a list of Path objects, containing the path to each valid file provided def getFileList(): |