Feed Advanced Search

Apr 17 2019

loh.tar added a comment to D20606: Add action to toggle folding of child ranges.

hm, there is already a folding action in the View menu.
I understood Dominik so, not to add a context menu to the icon border, but to add the action to the context menu of the "edit range".
Whatever, as said I'm not in the mood for that, and it should be done in a 2nd patch, when needed.
But a context menu on the icon border would I very much dislike. Middle click is not so handy and perform atm "paste to begin of line"

Apr 17 2019, 3:50 PM · Frameworks, Kate
loh.tar updated the diff for D20606: Add action to toggle folding of child ranges.
  • Add docu to header, not full happy with
  • Add desired adjustment checks
  • Make toggleFoldingInRange more action friendly
    • Add first try to unfold range itself into toggleFoldingInRange
    • Be a smart ass, minimize if nesting in mouseReleaseEvent
  • Fix to eager toggleFoldingInRange, don't fold else part when written on one line } else {
Apr 17 2019, 3:35 PM · Frameworks, Kate

Apr 16 2019

loh.tar added a comment to D20606: Add action to toggle folding of child ranges.

Oh, may that fit too?
Bug 352868 - Folding for all nodes (not just top-level) and/or siblings to current

Apr 16 2019, 4:54 PM · Frameworks, Kate
loh.tar added a comment to D20606: Add action to toggle folding of child ranges.

A possible improvement could be to add slots to make the folding accessible by some keyboard action, but I'm not in the mood for that now.
Bug 343060 - global folding code keyboard shortcuts

Apr 16 2019, 4:51 PM · Frameworks, Kate
loh.tar added a comment to D20606: Add action to toggle folding of child ranges.

This patch supersedes D20565

Apr 16 2019, 4:39 PM · Frameworks, Kate
loh.tar requested review of D20606: Add action to toggle folding of child ranges.
Apr 16 2019, 4:38 PM · Frameworks, Kate

Apr 15 2019

loh.tar updated the diff for D20565: Ensure not to fold the end marker.
  • Adjust only on token based folding
Apr 15 2019, 3:30 PM · Frameworks, Kate
loh.tar requested review of D20565: Ensure not to fold the end marker.
Apr 15 2019, 5:04 AM · Frameworks, Kate

Apr 14 2019

loh.tar added a comment to D17857: DocumentPrivate: Don't jump view when edit using 'scroll past last line'.

Yes! A short test looked very promising.
Will play a little more, because had done some changes to this patch here :-/

Apr 14 2019, 1:11 PM · Frameworks, Kate
loh.tar added a comment to D17857: DocumentPrivate: Don't jump view when edit using 'scroll past last line'.

Looks to me a call to KateLayoutCache::updateViewCache may help at some point.
But have no idea where to place and with which parms.
In KateLayoutCache::displayViewLine is "limit=0" on second call.

Apr 14 2019, 11:53 AM · Frameworks, Kate
loh.tar added a comment to D17857: DocumentPrivate: Don't jump view when edit using 'scroll past last line'.

Did anyone tried this patch?
While coding my focus was only on behavior while enter text. Now I notice that the folding is "broken" in a way that the view jumps to the bottom :-S

Apr 14 2019, 7:13 AM · Frameworks, Kate

Apr 13 2019

loh.tar committed R39:78a2e5d1daa5: DocumentPrivate: Respect indention mode when block selection (authored by loh.tar).
DocumentPrivate: Respect indention mode when block selection
Apr 13 2019, 6:11 PM
loh.tar closed D19450: DocumentPrivate: Respect indention mode when block selection.
Apr 13 2019, 6:11 PM · Frameworks, Kate
loh.tar abandoned D19511: ViewPrivate: Disable read-only mode action when doc is modified.

To relieve the maintainer it's droped now.
But I still have the feeling there could be something improved at these "Read-Only Stuff"

Apr 13 2019, 2:36 PM · Frameworks, Kate
loh.tar committed R39:cfb0af25bdfa: ViewInternal: Fix makeVisible(..) (authored by loh.tar).
ViewInternal: Fix makeVisible(..)
Apr 13 2019, 2:20 PM
loh.tar closed D17857: DocumentPrivate: Don't jump view when edit using 'scroll past last line'.
Apr 13 2019, 2:20 PM · Frameworks, Kate
loh.tar updated the diff for D19450: DocumentPrivate: Respect indention mode when block selection.
  • Rebase on master
Apr 13 2019, 8:39 AM · Frameworks, Kate
loh.tar committed R39:dc0e01ce0915: Fix testAutoBrackets (authored by loh.tar).
Fix testAutoBrackets
Apr 13 2019, 7:26 AM
loh.tar updated the diff for D19254: [RFC] KateRenderer: Show tabs and space characters the smart way.
  • Rebase on master to keep it compile
  • Not further investigated if changes by D19163 needs more tweeks here
Apr 13 2019, 7:07 AM · Frameworks, Kate

Apr 12 2019

loh.tar added a comment to D20264: Add test for "Auto Reload Document" option.

I spend a couple of time for this stuff.
Would be nice someone else could try it or do some investigation with tools I'm not familiar with, and don't want to be atm. Without feedback I will push it in the next few days.

Apr 12 2019, 11:22 PM · Frameworks, Kate
loh.tar committed R39:8f0813f6c7ed: DocumentPrivate: Make bracket handling smart (authored by loh.tar).
DocumentPrivate: Make bracket handling smart
Apr 12 2019, 10:34 PM
loh.tar closed D19608: DocumentPrivate: Make bracket handling smart.
Apr 12 2019, 10:34 PM · Frameworks, Kate
loh.tar committed R39:1a0da40ae3da: ViewInternal: Review drop event (authored by loh.tar).
ViewInternal: Review drop event
Apr 12 2019, 9:47 PM
loh.tar closed D19691: ViewInternal: Review drop event.
Apr 12 2019, 9:47 PM · Frameworks, Kate
loh.tar added a comment to D20264: Add test for "Auto Reload Document" option.

I think KateViewInternal::updateView is called for cursor blinking for instance. May that be an issue?

Apr 12 2019, 3:09 PM · Frameworks, Kate
loh.tar requested review of D20495: KateIconBorder: Fix folding popup width and height.
Apr 12 2019, 2:50 PM · Frameworks, Kate

Apr 11 2019

loh.tar committed R39:c95655f845da: KateIconBorder: Use UTF-8 char instead of special pixmap as dyn wrap indicator (authored by loh.tar).
KateIconBorder: Use UTF-8 char instead of special pixmap as dyn wrap indicator
Apr 11 2019, 12:32 PM
loh.tar closed D20434: KateIconBorder: Use UTF-8 char instead of special pixmap as dyn wrap indicator.
Apr 11 2019, 12:32 PM · Frameworks, Kate
loh.tar committed R39:6ba329f8d451: KateIconBorder: Ensure Dyn Wrap Marker are shown (authored by loh.tar).
KateIconBorder: Ensure Dyn Wrap Marker are shown
Apr 11 2019, 3:40 AM
loh.tar closed D20431: KateIconBorder: Ensure Dyn Wrap Marker are shown.
Apr 11 2019, 3:40 AM · Frameworks, Kate
loh.tar committed R39:6906368aa6b3: KateIconBorder: Code cosmetic (authored by loh.tar).
KateIconBorder: Code cosmetic
Apr 11 2019, 3:40 AM
loh.tar closed D20425: KateIconBorder: Code cosmetic.
Apr 11 2019, 3:40 AM · Frameworks, Kate, KTextEditor
loh.tar updated the diff for D20434: KateIconBorder: Use UTF-8 char instead of special pixmap as dyn wrap indicator.
  • Use unicode code point QChar constructor
  • Due to comment by @cfeck remove fallback/config hint and...
  • Init in header as const
  • Add hint about different char sizes
Apr 11 2019, 3:21 AM · Frameworks, Kate

Apr 10 2019

loh.tar added a comment to D20434: KateIconBorder: Use UTF-8 char instead of special pixmap as dyn wrap indicator.

Diff on top of D20425/D20431

Apr 10 2019, 2:05 PM · Frameworks, Kate
loh.tar requested review of D20434: KateIconBorder: Use UTF-8 char instead of special pixmap as dyn wrap indicator.
Apr 10 2019, 2:02 PM · Frameworks, Kate
loh.tar added a comment to D20431: KateIconBorder: Ensure Dyn Wrap Marker are shown.

Diff on top of D20425, not sure if depend on

Apr 10 2019, 1:42 PM · Frameworks, Kate
loh.tar requested review of D20431: KateIconBorder: Ensure Dyn Wrap Marker are shown.
Apr 10 2019, 1:42 PM · Frameworks, Kate
loh.tar requested review of D20425: KateIconBorder: Code cosmetic.
Apr 10 2019, 5:20 AM · Frameworks, Kate, KTextEditor

Apr 7 2019

loh.tar added a comment to D20343: fix handling of sub modules in git rely on ls-files --recurse-submodules, there since end of 2016.

Fix this Bug 398240 - Files appear twice in project view for some git projects ?
https://bugs.kde.org/show_bug.cgi?id=398240

Apr 7 2019, 8:57 PM · Kate
loh.tar added a comment to D19926: Add Bookmark Handling.

a good compromise could be to put the "Bookmark" menu under the "Tools" menu.

Apr 7 2019, 6:38 PM · Dolphin
loh.tar added a comment to D20357: Make buttons in seach bar nicer (icon, tooltip, autoselect).

I dislike tool tips :-(
Dolphin has only very few, and these are useful :-)

Apr 7 2019, 6:33 PM · Dolphin
loh.tar committed R39:ad4cd4a72508: DocumentPrivate: Support auto bracket in block selection mode (authored by loh.tar).
DocumentPrivate: Support auto bracket in block selection mode
Apr 7 2019, 2:01 PM
loh.tar closed D19446: DocumentPrivate: Support auto bracket in block selection mode.
Apr 7 2019, 2:01 PM · Frameworks, Kate
loh.tar accepted D20343: fix handling of sub modules in git rely on ls-files --recurse-submodules, there since end of 2016.
Apr 7 2019, 1:15 PM · Kate

Apr 6 2019

loh.tar updated the diff for D20264: Add test for "Auto Reload Document" option.
  • Enhance the test by checks for proper cursor position
Apr 6 2019, 4:27 PM · Frameworks, Kate

Apr 5 2019

loh.tar added a comment to D19446: DocumentPrivate: Support auto bracket in block selection mode.

Edit: The issue is located here...

TextBlock::insertText(...)
...
        // special handling if cursor behind the real line, e.g. non-wrapping cursor in block selection mode
        else if (cursor->m_column < textOfLine.size()) {
            cursor->m_column = textOfLine.size();
        }
...
Apr 5 2019, 1:20 PM · Frameworks, Kate
loh.tar requested review of D20264: Add test for "Auto Reload Document" option.
Apr 5 2019, 12:53 PM · Frameworks, Kate

Apr 4 2019

loh.tar added a comment to D19446: DocumentPrivate: Support auto bracket in block selection mode.

Feature or bug? Select in block mode from right->left on a single line after last char a block. The brackets are exchanged )( and placed at the end of the block

Hmm, I think this counts as a bug.

Have trouble to reproduce now. Was that fixed somewhere? Qt? Strange.

Apr 4 2019, 1:26 PM · Frameworks, Kate

Apr 3 2019

loh.tar updated the diff for D19446: DocumentPrivate: Support auto bracket in block selection mode.
  • Bring back call of view->slotTextInserted
Apr 3 2019, 3:51 PM · Frameworks, Kate
loh.tar updated the diff for D19446: DocumentPrivate: Support auto bracket in block selection mode.
  • Ensure the new added brackets will not be part of the selection when selection was done from right->left
  • Enhance autotest
Apr 3 2019, 2:51 PM · Frameworks, Kate

Apr 2 2019

loh.tar updated the diff for D19446: DocumentPrivate: Support auto bracket in block selection mode.
  • Set proper start/end column independent from selection direction.
Apr 2 2019, 7:32 PM · Frameworks, Kate
loh.tar committed R39:81a8d573ecaf: DocumentPrivate: Add option "Auto Reload Document" to View menu (authored by loh.tar).
DocumentPrivate: Add option "Auto Reload Document" to View menu
Apr 2 2019, 5:50 PM
loh.tar closed D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.
Apr 2 2019, 5:50 PM · Frameworks, Kate
loh.tar updated the diff for D19446: DocumentPrivate: Support auto bracket in block selection mode.
  • QCOMPARE also the selection in tests
Apr 2 2019, 2:41 PM · Frameworks, Kate
loh.tar added a comment to D19446: DocumentPrivate: Support auto bracket in block selection mode.

Feature or bug? Select in block mode from right->left on a single line after last char a block. The brackets are exchanged )( and placed at the end of the block

Hmm, I think this counts as a bug.

Apr 2 2019, 2:31 PM · Frameworks, Kate
loh.tar updated the diff for D19446: DocumentPrivate: Support auto bracket in block selection mode.
  • Add some auto tests
Apr 2 2019, 2:18 PM · Frameworks, Kate
loh.tar updated the diff for D19446: DocumentPrivate: Support auto bracket in block selection mode.
  • Rebase on master
Apr 2 2019, 1:10 PM · Frameworks, Kate

Apr 1 2019

loh.tar added a comment to D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.

As you see, not only the menu is changed, so I update this diff for your approval.

Apr 1 2019, 3:25 PM · Frameworks, Kate
loh.tar updated the diff for D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.
  • Ensure the view jumps not back when user scrolls around
  • Don't reload while user scrolls
  • Fix missing connect to auto reload slot when enabled by modOnHdHandler
  • Change menu
Apr 1 2019, 3:19 PM · Frameworks, Kate

Mar 31 2019

loh.tar committed R39:135269639e70: Fix to previous commit eb90ca52 (authored by loh.tar).
Fix to previous commit eb90ca52
Mar 31 2019, 2:18 PM
loh.tar committed R39:eb90ca5231f4: DocumentPrivate: Support to set dictionary on block selection (authored by loh.tar).
DocumentPrivate: Support to set dictionary on block selection
Mar 31 2019, 1:04 PM
loh.tar closed D19425: DocumentPrivate: Support to set dictionary on block selection.
Mar 31 2019, 1:04 PM · Frameworks, Kate
loh.tar added a comment to D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.

Could the "view_auto_follow" be implemented in a second review after this is commited?

Mar 31 2019, 12:36 PM · Frameworks, Kate

Mar 28 2019

loh.tar added a comment to D20083: Multiple level of autobrace.

This patch looks similar to D12295
My suggestion to the issue D19608

Mar 28 2019, 5:47 AM · Frameworks, Kate

Mar 26 2019

loh.tar committed R40:5d28eaaf9041: PreviewWidget: Avoid preview update when doc type is not supported (authored by loh.tar).
PreviewWidget: Avoid preview update when doc type is not supported
Mar 26 2019, 2:34 PM
loh.tar closed D19637: PreviewWidget: Avoid preview update when doc type is not supported.
Mar 26 2019, 2:34 PM · Kate

Mar 24 2019

loh.tar added a comment to D18793: Handle text completion with block selection mode.

Fix this patch also Bug 382213 ?

No, it doesn't fix it.

Mar 24 2019, 2:33 PM · Frameworks, Kate

Mar 17 2019

loh.tar added a comment to D19785: DocumentPrivate: Review del/backspace.

I had recently submit a patch which was also affected by RTL text D19621. Should this patch here be accepted I can upload my current state of the mentioned playing, which works similar as that D19621. It's for me very frustrating to test because I never know what is to be expect or what currently happens. Your Qt report make it even worse.

Mar 17 2019, 7:03 PM · Frameworks, Kate
loh.tar added a comment to D19771: Use placeholder instead of label.

Not answered are the questions about the removed label

The idea is that we don't need a label if there's appropriate placeholder text.

Mar 17 2019, 6:23 AM · Frameworks, Kate

Mar 15 2019

loh.tar added a comment to D19771: Use placeholder instead of label.

For me is your distinction between Find/Search not very intuitive. But OK, in terms of HIG may that somehow a wanted subtlety. Filter on the other hand is something else, yes, and here not fitting. So "Find..." in both cases.

Mar 15 2019, 7:10 PM · Frameworks, Kate
loh.tar added a comment to D17971: Revive External Tools plugin.

Here the link to the mentioned asyle stuff
https://community.kde.org/Policies/Kdelibs_Coding_Style#Artistic_Style_.28astyle.29_automatic_code_formatting
But there is still "--align-pointer=name" missing

Mar 15 2019, 3:56 PM · Kate
loh.tar added a comment to D19785: DocumentPrivate: Review del/backspace.

This patch is the byproduct of some playing with RTL text, Bug 385694.
But a sane solution may need some more effort, so I tend to not offer my current state of that playing.

Mar 15 2019, 2:04 PM · Frameworks, Kate
loh.tar requested review of D19785: DocumentPrivate: Review del/backspace.
Mar 15 2019, 2:03 PM · Frameworks, Kate
loh.tar updated subscribers of D19771: Use placeholder instead of label.

So the change in Search and replace need to be reverted.

Mar 15 2019, 2:00 PM · Frameworks, Kate
loh.tar added a comment to T10258: Use correct search bars and use ellipsis whenever needed to follow the KDE HIG.

Coming from D19771. For me is that HIG also confusing...

Mar 15 2019, 1:51 PM · Goal: Consistency, VDG, Plasma

Mar 14 2019

loh.tar updated the diff for D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.
  • Use new sig/slot style
  • Move/Use KToggleAction in document as suggested
  • Fix not working throttle logic
  • Increase delay to 3sec
  • Remove unneeded extra option "Follow"
Mar 14 2019, 3:38 PM · Frameworks, Kate

Mar 13 2019

loh.tar added a comment to D19408: [RFC] Avoid deadlock in use of vi mode searchbar .

OK. I spend some time again, but give up now.
I've got the feeling that these key event handling is not very well engineered.
May someone else take a closer look for some better solution, or at least try this patch, if it breaks some other functionality.

Mar 13 2019, 7:36 PM · Frameworks, Kate
loh.tar added a comment to D19408: [RFC] Avoid deadlock in use of vi mode searchbar .

hm, it may better to avoid to call that function at all in case of Ctrl-F (?) Will take a look.

Mar 13 2019, 1:52 PM · Frameworks, Kate
loh.tar added a comment to D17857: DocumentPrivate: Don't jump view when edit using 'scroll past last line'.

currently I find only very few time :(

I see, sorry to bother you...once more

Mar 13 2019, 5:54 AM · Frameworks, Kate
loh.tar added a comment to D19408: [RFC] Avoid deadlock in use of vi mode searchbar .
  • Assume you add "qDebug() << keyEvent;" on top of this function
  • For whatever reason is by Ctrl-F this code running with

KateVi::Completer::completerHandledKeypress: QKeyEvent(KeyPress, Key_Enter)

  • When you you hint return it looks like this...

KateVi::Completer::completerHandledKeypress: QKeyEvent(KeyPress, Key_Return, text="\r")

  • ...and the search bar disappears now
Mar 13 2019, 5:26 AM · Frameworks, Kate

Mar 12 2019

loh.tar updated the summary of D19367: SearchBar: Don't block GUI when enter incremental pattern.
Mar 12 2019, 7:48 PM · Frameworks, Kate
loh.tar updated the diff for D19367: SearchBar: Don't block GUI when enter incremental pattern.
  • Fix autotest by add QTest::qWait(0)
Mar 12 2019, 7:17 PM · Frameworks, Kate
loh.tar updated the diff for D19691: ViewInternal: Review drop event.
  • Fix cursor position after undo...harr
  • Improve readability
  • More code comments
  • Autotest still looks good
Mar 12 2019, 5:58 AM · Frameworks, Kate

Mar 11 2019

loh.tar added a comment to D19691: ViewInternal: Review drop event.

Cursor is wrong placed after undo

I'm confused. Can't see how that has worket before this patch. I tend to add a cursor info to the m_dragInfo struct. Reset to that position just before editStart()

Mar 11 2019, 9:04 PM · Frameworks, Kate
loh.tar requested review of D19691: ViewInternal: Review drop event.
Mar 11 2019, 5:19 PM · Frameworks, Kate
loh.tar requested review of D19681: IconBorder: Accept drag&drop events.
Mar 11 2019, 1:35 PM · Frameworks, Kate
loh.tar added a comment to D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.

Just to be on the safe side: Does this also work, if you have two views visible showing the same document, and then the message appears?

As said, poor tested., but what needs to be taken care? Normally these messages works well, so no idea why now not.

Mar 11 2019, 5:49 AM · Frameworks, Kate

Mar 10 2019

loh.tar added a comment to D19621: ViewPrivate: Make deselection by arrow keys more handy.

Ok with me.

Mar 10 2019, 7:34 PM · Frameworks, Kate
loh.tar updated the diff for D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.
  • Add actions to View menu
  • Contains some garbage lines
  • Still poor tested
  • One issue may/is that in case of multible views/windows the actions only get synced after an reload event :-/
Mar 10 2019, 7:22 PM · Frameworks, Kate
loh.tar added inline comments to D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.
Mar 10 2019, 7:03 PM · Frameworks, Kate
loh.tar added a comment to D19511: ViewPrivate: Disable read-only mode action when doc is modified.

So, then I assume you would be pro this patch.

Mar 10 2019, 9:53 AM · Frameworks, Kate
loh.tar updated the diff for D19621: ViewPrivate: Make deselection by arrow keys more handy.

me wrote:

  1. Please test with right to left text layout, and mixed text layout.

Can't say what is to be expect in such case, so test is difficult for me

Mar 10 2019, 7:42 AM · Frameworks, Kate

Mar 9 2019

loh.tar updated the diff for D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt.
  • Add autoReloadThrottle
  • Add some var settings/signal which looks missed, pls compare to onModOnHdReload()
  • not sure if that static single shot make sense
  • pretty untested
Mar 9 2019, 10:21 PM · Frameworks, Kate
loh.tar updated the diff for D19621: ViewPrivate: Make deselection by arrow keys more handy.
  • Consider RTL text
Mar 9 2019, 8:09 PM · Frameworks, Kate
loh.tar added a comment to D19637: PreviewWidget: Avoid preview update when doc type is not supported.

bth, I'm not sure about the title, if that's true

Mar 9 2019, 4:50 PM · Kate
loh.tar requested review of D19637: PreviewWidget: Avoid preview update when doc type is not supported.
Mar 9 2019, 4:49 PM · Kate
loh.tar added a comment to D19625: Use a searchbar similar to the one in okular.

Just my 2Cents

Mar 9 2019, 1:34 PM · Falkon
loh.tar updated the diff for D19621: ViewPrivate: Make deselection by arrow keys more handy.
  • Add autotest
Mar 9 2019, 12:31 PM · Frameworks, Kate
loh.tar added a comment to D19621: ViewPrivate: Make deselection by arrow keys more handy.
  1. Please test with right to left text layout, and mixed text layout.
Mar 9 2019, 9:29 AM · Frameworks, Kate
loh.tar updated the diff for D19621: ViewPrivate: Make deselection by arrow keys more handy.
  • Do nothing in persistent selection mode
Mar 9 2019, 9:27 AM · Frameworks, Kate