/*  Project leowl_6
    xor@frognet.net
    Copyright © 1996. Andrey B. Yastrebov. All Rights Reserved.

    SUBSYSTEM:    leowl_6.exe Application
    FILE:         leowl_6e.cpp
    AUTHOR:       Andrey B. Yastrebov


    OVERVIEW
    ========
    Source file for implementation of leowl_6Edit (TLEditView).
*/


#include <owl\owlpch.h>
#include <owl\docview.h>
#pragma hdrstop

#include "leowl_6.h"
#include "leowl_6e.h"

//{{leowl_6Edit Implementation}}


//////////////////////////////////////////////////////////
// leowl_6Edit
// ==========
// Construction/Destruction handling.
leowl_6Edit::leowl_6Edit (TDocument& doc, TWindow* parent)
    : TLEditView(doc, parent)
{
    // Set better flags
    Attr.Style |= ES_SMALLINDENT | ES_SMALLSPACING | ES_CANCHANGEFONT
      | WS_HSCROLL | WS_VSCROLL;

    // Change a little LEdit behavour
    lpFont = new TFont((HFONT) GetStockObject(DEVICE_DEFAULT_FONT));
    SetSyntax("0");
}


leowl_6Edit::~leowl_6Edit ()
{
   Destroy();
}
