Federico Mena Quintero
|
857c561ffe
|
If explicitly completing and we have a completion, just unselect it
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19848
|
2008-03-13 00:45:05 +00:00 |
|
Federico Mena Quintero
|
bcb36780ed
|
Another FIXME
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19847
|
2008-03-13 00:44:48 +00:00 |
|
Federico Mena Quintero
|
e33260acf3
|
Add completion feedback in other places
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19846
|
2008-03-13 00:44:30 +00:00 |
|
Federico Mena Quintero
|
932e20e9df
|
Find the cursor position from GtkEntry for the completion feedback
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19845
|
2008-03-13 00:44:12 +00:00 |
|
Federico Mena Quintero
|
197ab5dee8
|
Use a timer for the completion feedback window
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19844
|
2008-03-13 00:43:54 +00:00 |
|
Federico Mena Quintero
|
2465beb901
|
Destroy the completion feedback window
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19843
|
2008-03-13 00:43:36 +00:00 |
|
Federico Mena Quintero
|
53b09108df
|
Use an alignment for the label like in GtkTooltip
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19842
|
2008-03-13 00:43:18 +00:00 |
|
Federico Mena Quintero
|
547069a38e
|
Show the label as well as the feedback window
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19841
|
2008-03-13 00:42:58 +00:00 |
|
Federico Mena Quintero
|
b17ffff0ff
|
Debug printfs for the completion feedback position
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19840
|
2008-03-13 00:42:38 +00:00 |
|
Federico Mena Quintero
|
3b5ddd8b55
|
Create a tooltip-like window to present completion feedback
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19839
|
2008-03-13 00:42:19 +00:00 |
|
Federico Mena Quintero
|
f47227adde
|
Beep if there are no matches for explicit completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19838
|
2008-03-13 00:41:58 +00:00 |
|
Federico Mena Quintero
|
a83799a32a
|
Scan the completion store again to look for complete-but-not-unique matches
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19837
|
2008-03-13 00:41:38 +00:00 |
|
Federico Mena Quintero
|
e5f8a4693e
|
Stubs for all cases of completion feedback
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19836
|
2008-03-13 00:41:17 +00:00 |
|
Federico Mena Quintero
|
806cca3c9c
|
Update comments on explicit completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19835
|
2008-03-13 00:40:57 +00:00 |
|
Federico Mena Quintero
|
47ddc0c86f
|
Stubs to give feedback when doing explicit completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19834
|
2008-03-13 00:40:37 +00:00 |
|
Federico Mena Quintero
|
1510b02c75
|
Refresh the file part when it gets requested and when activating the entry
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19833
|
2008-03-13 00:40:16 +00:00 |
|
Federico Mena Quintero
|
8482f9a7de
|
Clear the completion flags before appending the common prefix
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19832
|
2008-03-13 00:39:56 +00:00 |
|
Federico Mena Quintero
|
6a06c6daee
|
Add FIXMEs for beeping later
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19831
|
2008-03-13 00:39:35 +00:00 |
|
Federico Mena Quintero
|
d2293cc4f8
|
Factor out some code
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19830
|
2008-03-13 00:39:15 +00:00 |
|
Federico Mena Quintero
|
989637296b
|
Implement the basic code path for explicit completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19829
|
2008-03-13 00:38:53 +00:00 |
|
Federico Mena Quintero
|
11a9457ee1
|
Clear pending completions thoroughly
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19828
|
2008-03-13 00:38:31 +00:00 |
|
Federico Mena Quintero
|
e7009432b2
|
Remove debug printfs from populate_completion_store()
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19827
|
2008-03-13 00:38:11 +00:00 |
|
Federico Mena Quintero
|
a531c03baf
|
Debug printfs for finishing the folder load
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19826
|
2008-03-13 00:37:50 +00:00 |
|
Federico Mena Quintero
|
deec573420
|
More debug printfs for populating the completion store
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19825
|
2008-03-13 00:37:27 +00:00 |
|
Federico Mena Quintero
|
b2fe9f70d3
|
Debug printfs for populating the completion store
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19824
|
2008-03-13 00:37:05 +00:00 |
|
Federico Mena Quintero
|
baeaea3ca8
|
Turn on in_change while changing the filename in the entry
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19823
|
2008-03-13 00:36:42 +00:00 |
|
Federico Mena Quintero
|
b25ec8e40e
|
Update some FIXMEs
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19822
|
2008-03-13 00:36:18 +00:00 |
|
Federico Mena Quintero
|
a6bdc59213
|
When finding the common prefix, assert that we have the correct folder loaded
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19821
|
2008-03-13 00:35:54 +00:00 |
|
Federico Mena Quintero
|
073093bde0
|
Discard the completion store when we change the folder
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19820
|
2008-03-13 00:35:31 +00:00 |
|
Federico Mena Quintero
|
f5343b9037
|
Add some more FIXMEs
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19819
|
2008-03-13 00:35:08 +00:00 |
|
Federico Mena Quintero
|
bdebb1c7fb
|
Remove obsolete comments
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19818
|
2008-03-13 00:34:44 +00:00 |
|
Federico Mena Quintero
|
69f62828f4
|
Cancel all forms of completion at the appropriate times, not just in ::changed
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19817
|
2008-03-13 00:34:21 +00:00 |
|
Federico Mena Quintero
|
9c9b5e6034
|
Put some more FIXMEs
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19816
|
2008-03-13 00:33:55 +00:00 |
|
Federico Mena Quintero
|
f96770eb2f
|
Re-create the completion store right before populating it
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19815
|
2008-03-13 00:33:31 +00:00 |
|
Federico Mena Quintero
|
af7a4e2ecf
|
Populate the completion store when the folder is done loading
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19814
|
2008-03-13 00:32:58 +00:00 |
|
Federico Mena Quintero
|
756497d142
|
Remove files_added handler
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19813
|
2008-03-13 00:32:32 +00:00 |
|
Federico Mena Quintero
|
d254972b7a
|
Remove files_deleted handler
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19812
|
2008-03-13 00:32:05 +00:00 |
|
Federico Mena Quintero
|
340e9ac350
|
Handle the folder being completely loaded
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19811
|
2008-03-13 00:31:38 +00:00 |
|
Federico Mena Quintero
|
f1101e1169
|
Debug printfs for finding the common prefix
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19810
|
2008-03-13 00:31:13 +00:00 |
|
Federico Mena Quintero
|
4158110fe8
|
Debug printfs for the common prefix
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19809
|
2008-03-13 00:30:47 +00:00 |
|
Federico Mena Quintero
|
f027017d8b
|
Autocomplete by inserting/selecting the common prefix
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19808
|
2008-03-13 00:30:20 +00:00 |
|
Federico Mena Quintero
|
e7afb62172
|
Debugging printfs
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19807
|
2008-03-13 00:29:55 +00:00 |
|
Federico Mena Quintero
|
25b98dca7b
|
Start autocompletion in an idle so GtkEntry updates its cursor position
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19806
|
2008-03-13 00:29:30 +00:00 |
|
Federico Mena Quintero
|
5f32bf06e0
|
Rework the way autocompletion is initiated
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19805
|
2008-03-13 00:29:04 +00:00 |
|
Federico Mena Quintero
|
d64fa89eec
|
For autocompletion, consider only the text up to the cursor
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19804
|
2008-03-13 00:28:38 +00:00 |
|
Federico Mena Quintero
|
1394858329
|
Don't overwrite the suffix after the cursor when inserting the completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19803
|
2008-03-13 00:28:12 +00:00 |
|
Federico Mena Quintero
|
bbb847aef7
|
Skip the cursor past the autocompleted part when requesting explicit completion
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19802
|
2008-03-13 00:27:46 +00:00 |
|
Federico Mena Quintero
|
45c87ed009
|
Move the cursor to the end only if we highlight the completed match
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19801
|
2008-03-13 00:27:16 +00:00 |
|
Federico Mena Quintero
|
46d0480711
|
Complete even if not at the end of the text
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19800
|
2008-03-13 00:26:49 +00:00 |
|
Federico Mena Quintero
|
833e32fa08
|
Only auto-insert the prefix if we are at the end of the text
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19799
|
2008-03-13 00:26:20 +00:00 |
|