Bug 345098 - Cantor do not show the keyword selected after tab completion
Summary: Cantor do not show the keyword selected after tab completion
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: octave-backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Filipe Saraiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 21:16 UTC by Filipe Saraiva
Modified: 2016-04-08 17:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 16.04
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filipe Saraiva 2015-03-12 21:16:53 UTC
In Octave backend, after to use tab completion, Cantor worksheet do not show the keyword selected.

Reproducible: Always

Steps to Reproduce:
1. In Octave backend, type some key, like 'a' and press TAB;
2. Cantor will show a list of keywords candidates. Select any option in the list and press ENTER;
3. The keyword selected will not be presented in Cantor worksheet.

Actual Results:  
Cantor do not present the keyword selected.

Expected Results:  
Cantor must to present the keyword selected.

If the completion have only one candidate, it is showed. For example, type 'sqr' and press TAB, or type 'funct' and press TAB.
Comment 1 Filipe Saraiva 2016-04-07 22:45:39 UTC
Git commit 5184cc78a6f826faed005c61a0b879a8610056fe by Filipe Saraiva.
Committed on 07/04/2016 at 22:35.
Pushed by filipesaraiva into branch 'master'.

Fix tab completition to Octave backend
FIXED-IN: 16.04

M  +2    -3    src/backends/octave/octavecompletionobject.cpp
M  +0    -3    src/backends/octave/octaveexpression.cpp
M  +1    -1    src/backends/octave/octavesyntaxhelpobject.cpp

http://commits.kde.org/cantor/5184cc78a6f826faed005c61a0b879a8610056fe
Comment 2 Filipe Saraiva 2016-04-07 22:46:45 UTC
Git commit a3d7d092d5ba1f09d801324cacc6ffe4694675ea by Filipe Saraiva.
Committed on 07/04/2016 at 22:44.
Pushed by filipesaraiva into branch 'Applications/16.04'.

Fix tab completition to Octave backend
FIXED-IN: 16.04

M  +2    -3    src/backends/octave/octavecompletionobject.cpp
M  +0    -3    src/backends/octave/octaveexpression.cpp
M  +1    -1    src/backends/octave/octavesyntaxhelpobject.cpp

http://commits.kde.org/cantor/a3d7d092d5ba1f09d801324cacc6ffe4694675ea