comparison src/ex_cmds.c @ 15510:41fbbcea0f1b v8.1.0763

patch 8.1.0763: nobody is using the Sun Workshop support commit https://github.com/vim/vim/commit/bb1969b6ab28120c93b77817e7b6075e1aecf663 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 15:45:25 2019 +0100 patch 8.1.0763: nobody is using the Sun Workshop support Problem: Nobody is using the Sun Workshop support. Solution: Remove the Workshop support.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 16:00:08 +0100
parents 55ccc2d353bd
children dd725a8ab112
comparison
equal deleted inserted replaced
15509:2650d9461407 15510:41fbbcea0f1b
3803 pos_T orig_pos; 3803 pos_T orig_pos;
3804 linenr_T topline = 0; 3804 linenr_T topline = 0;
3805 int newcol = -1; 3805 int newcol = -1;
3806 int solcol = -1; 3806 int solcol = -1;
3807 pos_T *pos; 3807 pos_T *pos;
3808 #ifdef FEAT_SUN_WORKSHOP
3809 char_u *cp;
3810 #endif
3811 char_u *command = NULL; 3808 char_u *command = NULL;
3812 #ifdef FEAT_SPELL 3809 #ifdef FEAT_SPELL
3813 int did_get_winopts = FALSE; 3810 int did_get_winopts = FALSE;
3814 #endif 3811 #endif
3815 int readfile_flags = 0; 3812 int readfile_flags = 0;
3879 } 3876 }
3880 free_fname = fix_fname(ffname); /* may expand to full path name */ 3877 free_fname = fix_fname(ffname); /* may expand to full path name */
3881 if (free_fname != NULL) 3878 if (free_fname != NULL)
3882 ffname = free_fname; 3879 ffname = free_fname;
3883 other_file = otherfile(ffname); 3880 other_file = otherfile(ffname);
3884 #ifdef FEAT_SUN_WORKSHOP
3885 if (usingSunWorkShop && p_acd
3886 && (cp = vim_strrchr(sfname, '/')) != NULL)
3887 sfname = ++cp;
3888 #endif
3889 } 3881 }
3890 } 3882 }
3891 3883
3892 /* 3884 /*
3893 * if the file was changed we may not be allowed to abandon it 3885 * if the file was changed we may not be allowed to abandon it
4455 && vim_fnamecmp(curdir, filedir) != 0) 4447 && vim_fnamecmp(curdir, filedir) != 0)
4456 do_autochdir(); 4448 do_autochdir();
4457 } 4449 }
4458 #endif 4450 #endif
4459 4451
4460 #if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) 4452 #if defined(FEAT_NETBEANS_INTG)
4461 if (curbuf->b_ffname != NULL) 4453 if (curbuf->b_ffname != NULL)
4462 { 4454 {
4463 # ifdef FEAT_SUN_WORKSHOP
4464 if (gui.in_use && usingSunWorkShop)
4465 workshop_file_opened((char *)curbuf->b_ffname, curbuf->b_p_ro);
4466 # endif
4467 # ifdef FEAT_NETBEANS_INTG 4455 # ifdef FEAT_NETBEANS_INTG
4468 if ((flags & ECMD_SET_HELP) != ECMD_SET_HELP) 4456 if ((flags & ECMD_SET_HELP) != ECMD_SET_HELP)
4469 netbeans_file_opened(curbuf); 4457 netbeans_file_opened(curbuf);
4470 # endif 4458 # endif
4471 } 4459 }