... I think Mikolaj was suggesting that split("") should return [""], similar to how split("asdf") returns ["asdf"]. James -- GPG Key: 1024D/61326D40...
40874
Bram Moolenaar
Bram@...
Oct 5, 2005 6:57 pm
... It already works a little bit for C++. What is required is the C++ specific things, such as recognizing ::. I don't really know enough about C++ to do...
40875
A. J. Mechelynck
antoine.mechelynck@...
Oct 5, 2005 7:21 pm
... split("") returns a list of zero elements split("asdf") returns a list of one element split("asdf qwer") returns a list of two elements split("asdf qwer...
40876
A. J. Mechelynck
antoine.mechelynck@...
Oct 5, 2005 7:40 pm
... Oops ... Tony....
40877
James Vega
jamessan@...
Oct 5, 2005 8:08 pm
... "" is a string with no whitespace just as "asdf" is a string with no whitespace. I hadn't actually looked at the help for or used Vim's split() before, so...
40878
Mikolaj Machowski
mikmach@...
Oct 5, 2005 9:58 pm
... OK. I was asking because previously split("") was returning [""]. m....
40879
A. J. Mechelynck
antoine.mechelynck@...
Oct 5, 2005 10:56 pm
... ['asdf39;] ... ['', 'asdf'] ... ['asdf39;, ''] ... ['', 'asdf', ''] See ":help split()". Best regards, Tony....
40880
Chris Allen
c.d.allen@...
Oct 6, 2005 3:30 pm
Hi Bram, That completion menu is great, but can I ask for a small change? It would be nice if the behaviour of the enter key was unchanged when using menu...
40881
Bram Moolenaar
Bram@...
Oct 6, 2005 3:54 pm
... I first had it this way, without the special meaning of the Enter key, but I found myself hitting enter to select an entry too often. I guess it's a habit...
40882
Chris Allen
c.d.allen@...
Oct 6, 2005 4:05 pm
... Yes, I think it works well in most situations, but generally only those where the up and down arrows are used for selection. I don't really see a need for...
40883
Halim, Salman
salman@...
Oct 6, 2005 5:23 pm
Hello, I'm using Vim 7aa build 152 and the spelling popup (defined as <SID>SpellPopup() in menu.vim) doesn't seem to work; I get this error: Line 14: Can only...
40884
Bram Moolenaar
Bram@...
Oct 6, 2005 5:29 pm
... That line should be: let [w, a] = spellbadword() The function now also returns the kind of bad spelling: "bad", "rare", "local" or "caps". It's already...
40885
armin-vim-spam@...
Oct 6, 2005 10:24 pm
Hi there, I just want to post the "solution" of the mentioned behavior (see my message 13 months ago). It looks like some X11 applications (like Motif-gvim)...
40886
george@...
Oct 7, 2005 9:21 am
40887
Corinna Vinschen
vinschen@...
Oct 7, 2005 9:39 am
Hi guys, I'm wondering if it's possible for the next vim version to allow "on the fly" line break margins in the gq command. Is it possible to enhance the gq...
40888
Ali Akcaagac
aliakc@...
Oct 7, 2005 10:20 am
... Have you thrown an eye on 'par' ? http://www.nicemice.net/par/ It's quite legendary for this kind of stuff and mentioned on the old VIM pages as well. mfg,...
40889
Corinna Vinschen
vinschen@...
Oct 7, 2005 10:44 am
... Well, yeah, but that's not exactly what I have in mind. Calling `par' while editing a text is not exactly a no-brainer, which is what my suggestion is up...
40890
Bram Moolenaar
Bram@...
Oct 7, 2005 11:09 am
... The "gq" command uses a count for the movement that follows. Thus using it for the text with isn't possibly without causing trouble. It would be possible...
40891
Corinna Vinschen
vinschen@...
Oct 7, 2005 11:17 am
... I didn't mean to imply to use the movement count for that. See my example above. The position at which to add the text width count is not the same at...
40892
A. J. Mechelynck
antoine.mechelynck@...
Oct 7, 2005 12:51 pm
... Make a new user-command for yourself, let's say (untested) command -nargs=1 -range Format call Format(<args>) function Format(width) -range let save_tw =...
40893
Stefan Karlsson
stefan.74@...
Oct 7, 2005 6:08 pm
The following Swedish sentence I know is correct, but Vim still complains about the spelling (indicated by "^"): Tag en öl, t.ex. en Carnegie. ^ ^^ The...
40894
Bram Moolenaar
Bram@...
Oct 7, 2005 7:28 pm
... "t.ex." is not in the dictionary. It appears not a single abbreviation is in the Swedish dictionary. ... "e.g." works fine for me. That "a" is...
40895
Stefan Karlsson
stefan.74@...
Oct 7, 2005 7:55 pm
... That is bad. I'll write to the maintainer of the dictionary. Vim uses Open Office dictionaries, correct? ... The "a" is not highlighted for me, only the...
40896
Keith W. Roberts
keithr@...
Oct 7, 2005 8:08 pm
... From: Bram@... [mailto:Bram@...] Sent: Friday, October 07, 2005 12:30 PM To: Stefan Karlsson Cc: vim-dev@... Subject: Re:...
40897
A. J. Mechelynck
antoine.mechelynck@...
Oct 7, 2005 8:17 pm
... Is a comma mandatory after "for example"? I wasn't taught so. Best regards, Tony....
40898
Bram Moolenaar
Bram@...
Oct 7, 2005 8:57 pm
... Yes, which are also the same as the Myspell dictionaries. However, I'm not sure Myspell and OpenOffice can handle the abbreviations. They should though. ...
40899
Stefan Karlsson
stefan.74@...
Oct 7, 2005 9:35 pm
On my system it complains on "e.g." for both your suggestions. ... -- Stefan Karlsson | stefan.74@......
40900
Bram Moolenaar
Bram@...
Oct 8, 2005 12:00 pm
... Strange. Can you try starting with "vim -u NONE" and ":set spell"? Perhaps there is some setting that prevents the spell checking from working properly. ...
40901
Stefan Karlsson
stefan.74@...
Oct 8, 2005 1:10 pm
... Ooops, sorry. I forgot to mention I use spelllang=en_us,sv. For spelllang=en the "e.g." are not marked but for spelllang=en_us they are. -- Stefan Karlsson...
40902
Bram Moolenaar
Bram@...
Oct 8, 2005 1:56 pm
... Ah, that explains. I'll add "e.g." to the other regions. These dictionaries are quite inconsistent, please report other annoying omissions if you find...