Public bug reported:

1)
Description:    Ubuntu 13.04
Release:        13.04

2) version 3.4.1-1

3)
when editing a *.bib file, the @ triggers pop-up snippets that should be 
inserted with insertion points (for example at ">>" here):

@Article{>>Identifier,
        title = {>>Title},
        author = {>>Author},
        journal = {>>Journal},
        year = {>>Year}
}

4)
it just adds in the following text (in this example):

@Article{${Identifier},
        title = {${Title}},
        author = {${Author}},
        journal = {${Journal}},
        year = {${Year}}
}

---------
The troublesome file is situated at 
/usr/lib/gedit/plugins/latex/bibtex/completion.py. I attached the patch (with 
"diff old_completion.py new_completion.py" - hope this is the correct way) 
after changing the file in order to have correct snippets. Anyway, the changes 
are minimal.

** Affects: gedit-latex-plugin (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "this patch fixes the problem with the snippets"
   
https://bugs.launchpad.net/bugs/1184403/+attachment/3687290/+files/completion.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1184403

Title:
  bibtex autocompletion doesn't have a correct insert positions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/1184403/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to