state clearly that the entire contents of generated files is generated; put special {{{ and }}} markers around the generated sections (these are special and extra-convenient for ViM but can probably be used to at least go to the end/beginning/other extremeity of the generated block from any other decent editor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,6 +15,17 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*
|
||||
IMPORTANT: src/stc/stc.cpp is generated by src/stc/gen_iface.py from
|
||||
src/stc/stc.cpp.in, don't edit stc.cpp file as your changes will be
|
||||
lost after the next regeneration, edit stc.cpp.in and rerun the
|
||||
gen_iface.py script instead!
|
||||
|
||||
Parts of this file generated by the script are found in between
|
||||
the special "{{{" and "}}}" markers, the rest of it is copied
|
||||
verbatim from src.h.in.
|
||||
*/
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
@@ -239,9 +250,7 @@ void wxStyledTextCtrl::SetHScrollBar(wxScrollBar* bar) {
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// BEGIN generated section. The following code is automatically generated
|
||||
// by gen_iface.py from the contents of Scintilla.iface. Do not edit
|
||||
// this file. Edit stc.cpp.in or gen_iface.py instead and regenerate.
|
||||
// Generated methods implementation section {{{
|
||||
|
||||
|
||||
// Add text to the document at current position.
|
||||
@@ -1397,7 +1406,7 @@ int wxStyledTextCtrl::FindText(int minPos, int maxPos,
|
||||
int startPos,
|
||||
int endPos,
|
||||
wxDC* draw,
|
||||
wxDC* target,
|
||||
wxDC* target,
|
||||
wxRect renderRect,
|
||||
wxRect pageRect) {
|
||||
RangeToFormat fr;
|
||||
@@ -3242,7 +3251,7 @@ int wxStyledTextCtrl::GetStyleBitsNeeded() const
|
||||
return SendMsg(4011, 0, 0);
|
||||
}
|
||||
|
||||
// END of generated section
|
||||
//}}}
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user