D17852: ViewInternal: Fix 'Go to matching bracket' in override mode

2019-01-15 Thread Dominik Haumann
dhaumann closed this revision.
dhaumann added a comment.


  Closed, see commit 1e0ace28c795cbe5e88bc1f31ea37a250cd110b0

REVISION DETAIL
  https://phabricator.kde.org/D17852

To: loh.tar, #ktexteditor, dhaumann
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, 
ngraham, bruns, demsking, cullmann, sars


D17852: ViewInternal: Fix 'Go to matching bracket' in override mode

2019-01-15 Thread Dominik Haumann
dhaumann accepted this revision.
dhaumann added a comment.
This revision is now accepted and ready to land.


  Good patch, and works for me.

REVISION DETAIL
  https://phabricator.kde.org/D17852

To: loh.tar, #ktexteditor, dhaumann
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, 
ngraham, bruns, demsking, cullmann, sars


D17852: ViewInternal: Fix 'Go to matching bracket' in override mode

2019-01-15 Thread loh tar
loh.tar updated this revision to Diff 49530.
loh.tar added a comment.


  Add autotest

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D17852?vs=48340&id=49530

REVISION DETAIL
  https://phabricator.kde.org/D17852

AFFECTED FILES
  autotests/src/kateview_test.cpp
  autotests/src/kateview_test.h
  src/view/kateviewinternal.cpp

To: loh.tar, #ktexteditor
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, 
ngraham, bruns, demsking, cullmann, sars


D17852: ViewInternal: Fix 'Go to matching bracket' in override mode

2019-01-08 Thread loh tar
loh.tar added a comment.


  Nice trick ;-) Can't promise to do it, will see

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D17852

To: loh.tar, #ktexteditor
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, 
ngraham, bruns, demsking, cullmann, sars


D17852: ViewInternal: Fix 'Go to matching bracket' in override mode

2019-01-08 Thread Dominik Haumann
dhaumann added a comment.


  I think this change makes sense.
  
  I would like to have a unit test for this. Doing so is simple: Add a function 
in autotest/src/kateview_test.h/cpp and add one bracket matching call, then 
check the new cursor position. Then, do the same in overwrite mode.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D17852

To: loh.tar, #ktexteditor
Cc: dhaumann, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, 
ngraham, bruns, demsking, cullmann, sars


D17852: ViewInternal: Fix 'Go to matching bracket' in override mode

2018-12-29 Thread loh tar
loh.tar created this revision.
loh.tar added a reviewer: KTextEditor.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
loh.tar requested review of this revision.

REVISION SUMMARY
  BUG: 402594

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D17852

AFFECTED FILES
  src/view/kateviewinternal.cpp

To: loh.tar, #ktexteditor
Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann