#include <afxtempl.h>
#endif
-enum LINEFLAGS
+enum LINEFLAGS: unsigned long
{
LF_BOOKMARK_FIRST = 0x00000001UL,
LF_EXECUTION = 0x00010000UL,
int FindLineWithFlag (DWORD dwFlag) const;
protected :
- enum
+ enum : unsigned
{
UNDO_INSERT = 0x0001U,
UNDO_BEGINGROUP = 0x0100U
// CCrystalTextView class declaration
// CCrystalTextView::FindText() flags
-enum
+enum : unsigned
{
FIND_MATCH_CASE = 0x0001U,
FIND_WHOLE_WORD = 0x0002U,
};
// CCrystalTextView::UpdateView() flags
-enum
+enum : unsigned
{
UPDATE_HORZRANGE = 0x0001U, // update horz scrollbar
UPDATE_VERTRANGE = 0x0002U, // update vert scrollbar
/**
* @brief values for DIFFITEM.diffcode
*/
- enum
+ enum : unsigned long
{
// We use extra bits so that no valid values are 0
// and each set of flags is in a different hex digit
information; here are the list of WinMerge flags.
So, these constants are used with the SetLineFlag(2) calls.
*/
-enum MERGE_LINEFLAGS
+enum MERGE_LINEFLAGS : DWORD
{
LF_DIFF = 0x00200000UL,
// LF_GHOST = 0x00400000UL,
const char *lower; // beginning of enclosed text (valid after Move)
const char *upper; // end of enclosed text (initially beginning of file)
const char *ahead; // last char of file
- enum
+ enum : unsigned
{
IgnoreCase = 0x10,
HtmlUTags = 0x20, // check for unbalanced tags
size_t cbImage;
void *pImage;
void *pCopy;
- enum
+ enum : unsigned
{
Octets = 0x02 + 0x04,
Mapping = 0x40