Skip to content

Commit

Permalink
added a new key combination to trigger autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
bandinopla committed Feb 3, 2024
1 parent b77d5e5 commit 41926a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions public/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- 2.21.1 : 2024-02-03
* Added ALT+TAB as key combination to trigger the autocomplete as suggested by @mm_42 to be used in Mac as quote "since cmd+space shortcut is widely used for spotlight search"

- 2.21.0 : 2024-02-02
+ Requested by @Krustenviech : "change the calendar view to starting on monday from top to bottom sunday"
(Added as a tiny arrow below or above the day Monday on the calendar, if you click on it, it will set the new first day of the week)
Expand Down
2 changes: 1 addition & 1 deletion src/codemirror/LogTextEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ export const LogTextEditor = ({ usekg, exercises, tags, value, getDocRef, getSho
useEffect( ()=>{

var myCodeMirror = CodeMirror.fromTextArea(txt.current,{
extraKeys : { "Ctrl-Space": "autocomplete", "Cmd-Space":"autocomplete", "Shift-Space":"autocomplete"},// "'#'": "autocomplete" },
extraKeys : { "Ctrl-Space": "autocomplete", "Cmd-Space":"autocomplete", "Shift-Space":"autocomplete", "Alt+Tab":"autocomplete" },// "'#'": "autocomplete" },
lineWrapping :true,

mode: {
Expand Down
2 changes: 1 addition & 1 deletion src/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"buildMajor":"2","buildMinor":21,"buildRevision":0,"buildTag":"RELEASE","when":"Fri, 02 Feb 2024 20:26:18 GMT"}
{"buildMajor":"2","buildMinor":21,"buildRevision":1,"buildTag":"RELEASE","when":"Sat, 03 Feb 2024 08:09:33 GMT"}

0 comments on commit 41926a7

Please sign in to comment.