28 Commits

Author SHA1 Message Date
Ingo Karkat d08482b29d BUG: Optional a:position argument to ingo#window#preview#SplitToPreview() is mistakenly truncated to [1:2]
Inline the l:cursor and l:bufnr variables; they are only used in the function call, anyway.
2017-05-26 17:52:11 +02:00
Ingo Karkat 5b4070fe8e 2017-05-26 17:52:11 +02:00
Ingo Karkat 03cf81bd51 2017-05-26 17:51:05 +02:00
Ingo Karkat 397882b51a 2017-05-26 17:51:05 +02:00
Ingo Karkat 0b747332b5 file creation 2017-05-26 17:51:05 +02:00
Ingo Karkat b4f27896ef Improve heuristics of ingo#window#quickfix#IsQuickfixList() to also handle empty location list (with non-empty quickfix list)
Add ingo#window#quickfix#TranslateVirtualColToByteCount() from autoload/QuickFixCurrentNumber.vim.
2017-05-26 17:36:38 +02:00
Ingo Karkat c06c4dcead 2017-05-26 17:36:38 +02:00
Ingo Karkat d784763f43 ENH: Make ingo#window#special#SaveSpecialWindowSize() return sum of special windows' widths and sum of special windows' heights 2017-05-26 17:36:34 +02:00
Ingo Karkat 30a0ae776a Add optional isReturnError flag on ingo#window#switches#GotoPreviousWindow() 2017-05-26 17:36:28 +02:00
Ingo Karkat 4bea347c8d Replace conditional with ingo#list#Make() 2017-05-26 17:36:25 +02:00
Ingo Karkat d377b6cf52 ENH: Enable customization of ingo#window#special#IsSpecialWindow() via g:IngoLibrary_SpecialWindowPredicates 2017-05-26 17:36:00 +02:00
Ingo Karkat 78ed0a8e66 2017-05-26 17:35:33 +02:00
Ingo Karkat 80728077b9 Add ingo#window#quickfix#GetList() and ingo#window#quickfix#SetList() 2017-05-26 17:32:55 +02:00
Ingo Karkat 65f2b7bb60 Support all imaginable argument variants of ingo#window#preview#OpenFilespec(), so that it can be used as a wrapper that encapsulates the g:previewwindowsplitmode config and the workaround for the absolute filespec due to the CWD 2017-05-26 17:31:50 +02:00
Ingo Karkat 3026af16e6 Add ingo#window#preview#OpenFilespec(), a wrapper around :pedit that performs the fnameescape() and obeys the custom g:previewwindowsplitmode 2017-05-26 17:30:32 +02:00
Ingo Karkat a285b30799 2017-05-26 17:30:32 +02:00
Ingo Karkat a3a6b01c2e ENH: Allow passing optional a:tabnr to ingo#window#preview#IsPreviewWindowVisible()
Factor out ingo#window#preview#OpenBuffer().
CHG: Change optional a:cursor argument of ingo#window#preview#SplitToPreview() from 4-tuple getpos()-style to [lnum, col]-style.
2017-05-26 17:30:25 +02:00
Ingo Karkat 7a10e9cc75 2017-05-26 17:29:43 +02:00
Ingo Karkat 177c55f59d 2017-05-26 17:27:27 +02:00
Ingo Karkat ff2bfff2f8 Change naming of augroup to match ingo-library convention 2017-05-26 17:26:35 +02:00
Ingo Karkat 90d6de6e99 Add prefix to exception thrown from ingo#window#cmdwin#UndefineMappingForCmdwin() 2017-05-26 17:23:29 +02:00
Ingo Karkat 4e0c94a660 2017-05-26 17:15:50 +02:00
Ingo Karkat 0c8d997945 file creation 2017-05-26 17:03:17 +02:00
Ingo Karkat 69f3e9c7d3 file creation 2017-05-26 17:03:17 +02:00
Ingo Karkat 06c092bdfd file creation 2017-05-26 17:03:17 +02:00
Ingo Karkat 8a34c3eb93 file creation 2017-05-26 17:03:17 +02:00
Ingo Karkat 35f6a9c5ef file creation 2017-05-26 17:03:17 +02:00
Ingo Karkat 5521bf0032 file creation 2017-05-26 17:03:17 +02:00