Mercurial > vim
comparison src/netbeans.c @ 10226:7a4fb555c83a v8.0.0012
commit https://github.com/vim/vim/commit/9af418427652562384744648d7d173a4bfebba95
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 25 21:45:05 2016 +0200
patch 8.0.0012
Problem: Typos in comments.
Solution: Change "its" to "it's". (Matthew Brener, closes https://github.com/vim/vim/issues/1088)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Sep 2016 22:00:04 +0200 |
parents | 4aead6a9b7a9 |
children | 8cff35d5f5dc |
comparison
equal
deleted
inserted
replaced
10225:820fe7530856 | 10226:7a4fb555c83a |
---|---|
2154 /* =====================================================================*/ | 2154 /* =====================================================================*/ |
2155 } | 2155 } |
2156 else if (streq((char *)cmd, "save")) | 2156 else if (streq((char *)cmd, "save")) |
2157 { | 2157 { |
2158 /* | 2158 /* |
2159 * NOTE - This command is obsolete wrt NetBeans. Its left in | 2159 * NOTE - This command is obsolete wrt NetBeans. It's left in |
2160 * only for historical reasons. | 2160 * only for historical reasons. |
2161 */ | 2161 */ |
2162 if (buf == NULL || buf->bufp == NULL) | 2162 if (buf == NULL || buf->bufp == NULL) |
2163 { | 2163 { |
2164 nbdebug((" invalid buffer identifier in %s command\n", cmd)); | 2164 nbdebug((" invalid buffer identifier in %s command\n", cmd)); |
2240 do_update = 0; | 2240 do_update = 0; |
2241 } | 2241 } |
2242 | 2242 |
2243 /* | 2243 /* |
2244 * Is this needed? I moved the netbeans_Xt_connect() later during startup | 2244 * Is this needed? I moved the netbeans_Xt_connect() later during startup |
2245 * and it may no longer be necessary. If its not needed then needupdate | 2245 * and it may no longer be necessary. If it's not needed then needupdate |
2246 * and do_update can also be removed. | 2246 * and do_update can also be removed. |
2247 */ | 2247 */ |
2248 if (buf != NULL && buf->initDone && do_update) | 2248 if (buf != NULL && buf->initDone && do_update) |
2249 { | 2249 { |
2250 update_screen(NOT_VALID); | 2250 update_screen(NOT_VALID); |
2854 /* This is a no-op, because NetBeans considers a buffer modified | 2854 /* This is a no-op, because NetBeans considers a buffer modified |
2855 * even when all changes have been undone. */ | 2855 * even when all changes have been undone. */ |
2856 } | 2856 } |
2857 | 2857 |
2858 /* | 2858 /* |
2859 * Send a button release event back to netbeans. Its up to netbeans | 2859 * Send a button release event back to netbeans. It's up to netbeans |
2860 * to decide what to do (if anything) with this event. | 2860 * to decide what to do (if anything) with this event. |
2861 */ | 2861 */ |
2862 void | 2862 void |
2863 netbeans_button_release(int button) | 2863 netbeans_button_release(int button) |
2864 { | 2864 { |
3451 return offset; | 3451 return offset; |
3452 } | 3452 } |
3453 | 3453 |
3454 | 3454 |
3455 /* | 3455 /* |
3456 * This message is printed after NetBeans opens a new file. Its | 3456 * This message is printed after NetBeans opens a new file. It's |
3457 * similar to the message readfile() uses, but since NetBeans | 3457 * similar to the message readfile() uses, but since NetBeans |
3458 * doesn't normally call readfile, we do our own. | 3458 * doesn't normally call readfile, we do our own. |
3459 */ | 3459 */ |
3460 static void | 3460 static void |
3461 print_read_msg(nbbuf_T *buf) | 3461 print_read_msg(nbbuf_T *buf) |