Changeset 2407 in kBuild for trunk/VSlickMacros
- Timestamp:
- Jun 10, 2010 12:52:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VSlickMacros/kkeys.e
r2400 r2407 52 52 def 'C-DEL' = kkeys_delete_right 53 53 #if __VERSION__ >= 14.0 54 def 'C-/' = kkeys_push_ref 55 def 'S-C-/' = push_ref 54 56 def 'S-A-]' = next_buff_tab 55 57 def 'S-A-[' = prev_buff_tab … … 275 277 } 276 278 277 278 279 #if __VERSION__ >= 14.0 280 281 /** 282 * Search for references only in the current workspace. 283 */ 284 _command kkeys_push_ref() 285 { 286 if (_isEditorCtl()) 287 { 288 sProjTagFile = project_tags_filename(); 289 sLangId = p_LangId; 290 if (sProjTagFile != '') 291 { 292 293 /* HACK ALERT: Make sure gtag_filelist_last_ext has the right value. */ 294 _update_tag_filelist_ext(sLangId); 295 296 /* save */ 297 boolean saved_gtag_filelist_cache_updated = gtag_filelist_cache_updated; 298 _str saved_gtag_filelist_ext[] = gtag_filelist_ext; 299 300 /* HACK ALERT: Replace the tag file list for this language. */ 301 gtag_filelist_ext._makeempty(); 302 gtag_filelist_ext[0] = sProjTagFile; 303 saved_gtag_filelist_cache_updated = true; 304 305 /* Do the reference searching. */ 306 push_ref('-e ' :+ sLangId); 307 308 /* restore*/ 309 gtag_filelist_cache_updated = saved_gtag_filelist_cache_updated; 310 gtag_filelist_ext = saved_gtag_filelist_ext; 311 } 312 else 313 push_ref(); 314 } 315 else 316 push_ref(); 317 } 318 319 279 320 _command kkeys_gen_uuid() 280 321 { … … 286 327 kkeys_restore_cur_pos(lSavedCurPos); 287 328 } 288 #endif 329 330 #endif /* >= 14.0 */ 289 331 290 332 /** @name Mac OS X Hacks: Alt+[fet] -> drop down menu
Note:
See TracChangeset
for help on using the changeset viewer.