D22477: Add a config to only show completions matching word beginning
Ahmad Samir
noreply at phabricator.kde.org
Mon Jul 15 17:46:55 BST 2019
ahmadsamir created this revision.
ahmadsamir added reviewers: KTextEditor, cullmann, dhaumann.
Herald added projects: Kate, Frameworks.
ahmadsamir requested review of this revision.
REVISION SUMMARY
This disables the current behaviour where if no match is found,
completions that "contain" the word to-be-completed, and that are at
a word beginning (marked by a capital letter or an underscore), are added
to the list of completion items; e.g. Foo will match BarFoo and Bar_Foo.
BUG: 381024
FIXED-IN: 5.61.0
TEST PLAN
- Open a document in kate and type the following:
Foo
BarFoo
Bar_Foo
- Enable the new config option and type Foo; check if BarFoo or Bar_Foo are offered as completions
- Diable the config and repeat the above step.
REPOSITORY
R39 KTextEditor
BRANCH
autocompletion-backwards-matching (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D22477
AFFECTED FILES
autotests/src/completion_test.cpp
src/completion/katecompletionmodel.cpp
src/dialogs/completionconfigtab.ui
src/dialogs/katedialogs.cpp
src/utils/kateconfig.cpp
src/utils/kateconfig.h
To: ahmadsamir, #ktexteditor, cullmann, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, sbergeron, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190715/a89dcc12/attachment.html>
More information about the KWrite-Devel
mailing list