diff --git a/CHANGELOG.md b/CHANGELOG.md index a36436a..d188ac4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ edbee.lib: +- PR #147, Add ctrl-a / ctrl-e support for macOS - fix, Autocomplete Improvements - autocomplete is now really canceled with the escape key. It only appears again if the word becomes blank - add Qt::NoFocus focus policy to TextEditorAutocompleteComponent, to hopefully solve focus issue (https://github.com/Mudlet/Mudlet/issues/5310) diff --git a/edbee-lib/edbee/data/factorykeymap.cpp b/edbee-lib/edbee/data/factorykeymap.cpp index 439ef0c..ce99282 100644 --- a/edbee-lib/edbee/data/factorykeymap.cpp +++ b/edbee-lib/edbee/data/factorykeymap.cpp @@ -25,7 +25,9 @@ void FactoryKeyMap::fill( TextEditorKeyMap* km ) add( "goto_next_word", "move_to_next_word" ); add( "goto_prev_word", "move_to_previous_word" ); add( "goto_bol", "move_to_start_of_line" ); + add( "goto_bol", "move_to_start_of_block"); add( "goto_eol", "move_to_end_of_line" ); + add( "goto_eol", "move_to_end_of_block"); add( "goto_next_line", "move_to_next_line" ); add( "goto_prev_line", "move_to_previous_line" ); add( "goto_bof", "move_to_start_of_document" ); diff --git a/edbee-lib/edbee/util/mem/debug_allocs.cpp b/edbee-lib/edbee/util/mem/debug_allocs.cpp index f820d03..a692480 100644 --- a/edbee-lib/edbee/util/mem/debug_allocs.cpp +++ b/edbee-lib/edbee/util/mem/debug_allocs.cpp @@ -33,7 +33,7 @@ DebugAllocationList::DebugAllocationList() , running_(false) , started_(false) { -#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) +#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) mutex_ = new EdbeeRecursiveMutex( QMutex::Recursive ); #else mutex_ = new EdbeeRecursiveMutex(); @@ -65,7 +65,7 @@ void DebugAllocationList::clear() } -/// Retuns the mutex for thread-safety +/// Returns the mutex for thread-safety EdbeeRecursiveMutex* DebugAllocationList::mutex() { return mutex_; diff --git a/edbee-lib/edbee/util/mem/debug_allocs.h b/edbee-lib/edbee/util/mem/debug_allocs.h index 92db554..be49ba4 100644 --- a/edbee-lib/edbee/util/mem/debug_allocs.h +++ b/edbee-lib/edbee/util/mem/debug_allocs.h @@ -12,7 +12,7 @@ -#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) +#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) #define EdbeeRecursiveMutex QMutex #else #define EdbeeRecursiveMutex QRecursiveMutex