thegooglecodearchive / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 1 forks source link

[codetemplater] template name with spaces gets split in user list #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What Plugin does this relate to? What version of the Plugin?

CodeTemplater

What steps will reproduce the problem?
1. define a template with a space in its name (eg. "the template")
2. show code templates
3. user list shows: "the" and "template" on two lines

What is the expected output? What do you see instead?

userlist should show "the template" on a single line

What version of Editra are you using? On what operating system?

0.5.51

Please provide any additional information below.

Maybe using AutoCompSetSeparator() with "\n" could help ? Attached is a 
dirty patch, I don't know if "\n" should be the default...

Original issue reported on code.google.com by sebastie...@gmail.com on 23 Mar 2010 at 11:00

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by CodyPrec...@gmail.com on 29 Mar 2010 at 1:41

GoogleCodeExporter commented 9 years ago
Fix for this has been committed to svn with some small changes (a try/finally 
block) - 
\n makes sense, but I don't think it's what's used in the completer, so it's 
probably 
necessary to make sure it's switched back each time (it doesn't seem to be any 
perceivable performance hit, so no problem)

Original comment by etolle...@gmail.com on 31 Mar 2010 at 3:33

GoogleCodeExporter commented 9 years ago
* closing issue as fixed

(Do you have privileges to change the Status field?)

Original comment by CodyPrec...@gmail.com on 31 Mar 2010 at 4:03

GoogleCodeExporter commented 9 years ago
I do have privileges, but I wasn't sure if you had a policy that you'd rather 
look over 
them before declaring something fixed.  I can certainly start doing so if you 
like, 
though.

Original comment by etolle...@gmail.com on 31 Mar 2010 at 4:27

GoogleCodeExporter commented 9 years ago
No its your plugin so you can do as you like. Just wanted to make sure that the
account was working correctly thanks.

Original comment by CodyPrec...@gmail.com on 31 Mar 2010 at 1:42

GoogleCodeExporter commented 9 years ago
I tried last version, it works perfectly, thanks.
Seb

Original comment by sebastie...@gmail.com on 31 Mar 2010 at 2:05