-
Notifications
You must be signed in to change notification settings - Fork 67
/
NppPluginIface_DocTabMap.h
48 lines (36 loc) · 1.62 KB
/
NppPluginIface_DocTabMap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* NppPluginIface_DocTabMap.h
*
* This file is part of the Notepad++ Plugin Interface Lib.
* Copyright 2008 - 2009 Thell Fowler ([email protected])
*
* This program is free software; you can redistribute it and/or modify it under the terms of
* the GNU General Public License as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with this program;
* if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Notepad++ Plugin Interface Lib extension providing mapping of Notepad++ tab bufferID and
* visibility to Scintilla Document pointers, as well as tracking the currently open files
* by docID and a docId to bufferID map.
*
* For an example of using this see NppPluginIface_ActionIndex.
*
*/
#ifndef NPP_PLUGININTERFACE_DOCTABMAP_EXTENSION_H
#define NPP_PLUGININTERFACE_DOCTABMAP_EXTENSION_H
#include "NppPluginIface.h"
namespace npp_plugin {
namespace doctabmap {
void update_DocTabMap();
int getVisibleDocId_by_View( int view );
int getDocIdFromBufferId( int bufferID );
bool fileIsOpen( int pDoc );
} // End namespace: doctabmap
} // End namespace: npp_plugin
#endif // End include guard: NPP_PLUGININTERFACE_ACTIONINDEX_EXTENSION_H