Skip to content

Commit

Permalink
Merge pull request #10 from edbee/master
Browse files Browse the repository at this point in the history
Update to latest upstream for ctrl support on macos
  • Loading branch information
vadi2 authored Oct 10, 2024
2 parents dac0431 + f92ddf5 commit 46086e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions edbee-lib/edbee/data/factorykeymap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down
4 changes: 2 additions & 2 deletions edbee-lib/edbee/util/mem/debug_allocs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -65,7 +65,7 @@ void DebugAllocationList::clear()
}


/// Retuns the mutex for thread-safety
/// Returns the mutex for thread-safety
EdbeeRecursiveMutex* DebugAllocationList::mutex()
{
return mutex_;
Expand Down
2 changes: 1 addition & 1 deletion edbee-lib/edbee/util/mem/debug_allocs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46086e0

Please sign in to comment.