mirror of
https://github.com/ScintillaOrg/lexilla.git
synced 2025-05-08 19:06:45 +08:00
Standardise header guards and comments.
This commit is contained in:
parent
8e457935f8
commit
cad6d5b120
@ -6,8 +6,8 @@
|
||||
// Copyright 2019 by Neil Hodgson <neilh@scintilla.org>
|
||||
// The License.txt file describes the conditions under which this software may be distributed.
|
||||
|
||||
#ifndef LEXILLACOLLECTION_H
|
||||
#define LEXILLACOLLECTION_H
|
||||
#ifndef LEXILLAACCESS_H
|
||||
#define LEXILLAACCESS_H
|
||||
|
||||
namespace Lexilla {
|
||||
|
||||
|
@ -6,6 +6,9 @@
|
||||
// Copyright 2020 by Neil Hodgson <neilh@scintilla.org>
|
||||
// The License.txt file describes the conditions under which this software may be distributed.
|
||||
|
||||
#ifndef LEXILLA_H
|
||||
#define LEXILLA_H
|
||||
|
||||
// Define the default Lexilla shared library name for each platform
|
||||
#if _WIN32
|
||||
#define LEXILLA_LIB "lexilla"
|
||||
@ -88,3 +91,5 @@ void LEXILLA_CALL SetLibraryProperty(const char *key, const char *value);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Scintilla source code edit control
|
||||
// Lexilla lexer library
|
||||
/** @file Lexilla.cxx
|
||||
** Lexer infrastructure.
|
||||
** Provides entry points to shared library.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Scintilla source code edit control
|
||||
// Lexilla lexer library
|
||||
/** @file TestDocument.cxx
|
||||
** Lexer testing.
|
||||
**/
|
||||
|
@ -1,10 +1,13 @@
|
||||
// Scintilla source code edit control
|
||||
// Lexilla lexer library
|
||||
/** @file TestDocument.h
|
||||
** Lexer testing.
|
||||
**/
|
||||
// Copyright 2019 by Neil Hodgson <neilh@scintilla.org>
|
||||
// The License.txt file describes the conditions under which this software may be distributed.
|
||||
|
||||
#ifndef TESTDOCUMENT_H
|
||||
#define TESTDOCUMENT_H
|
||||
|
||||
class TestDocument : public Scintilla::IDocument {
|
||||
std::string text;
|
||||
std::string textStyles;
|
||||
@ -41,3 +44,4 @@ public:
|
||||
int SCI_METHOD GetCharacterAndWidth(Sci_Position position, Sci_Position *pWidth) const override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -1,5 +1,9 @@
|
||||
// TestLexers.cxx : Test lexers through Lexilla
|
||||
//
|
||||
// Lexilla lexer library
|
||||
/** @file TestLexers.cxx
|
||||
** Test lexers through Lexilla.
|
||||
**/
|
||||
// Copyright 2019 by Neil Hodgson <neilh@scintilla.org>
|
||||
// The License.txt file describes the conditions under which this software may be distributed.
|
||||
|
||||
#include <cassert>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user