Hi All, I found an problem with omni completion.

net-snmp has 3  structs like
1)
typedef struct XXXXXTable_data_s {

  u_long   z;

} XXXXXTable_data;

2)
typedef    XXXXXTable_data    XXXXXTable_undo_data;

3)
typedef struct XXXXXTable_rowreq_ctx_s {

   /** this must be first for container compare to work */
   netsnmp_index        oid_idx;
   oid                  oid_tmp[MAX_ XXXXXTable_IDX_LEN];

    XXXXXTable_mib_index        tbl_idx;

   XXXXXTable_data              data;
   unsigned int                column_exists_flags; /* flags for existence */
    XXXXXTable_undo_data       * undo;
   unsigned int                column_set_flags; /* flags for set columns */


   /*
    * flags per row. Currently, the first (lower) 8 bits are reserved
    * for the user. See mfd.h for other flags.
    */
   u_int                       rowreq_flags;

   /*
    * TODO:131:o: |   |-> Add useful data to  XXXXXTable rowreq context.
    */

   /*
    * storage for future expansion
    */
   netsnmp_data_list             * XXXXXTable_data_list;

}  XXXXXTable_rowreq_ctx;


now if I want to access z member of undo member of
XXXXXTalbe_rowreq_ctx varialbe X;
X->undo can be omni completed.
but omni completion could not do  the embeded omni completion  work
for X->undo->z on ubuntu 10.10 mavricks (whether I build it from v7.3
source with huge etc options or apt-get 7.2 from official or whether
it's gvim or vim).

it  can work on  windows 7, gvim 7.3, not vim 7.3



BR,

Baumann

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui