C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[40165] Re:Syntax Highlight 기능이 있는 에디터 컴퍼넌트 좀 알려주세요
smleelms [smleelms] 1366 읽음    2005-05-13 17:31
한번 참고해 보시기 바랍니다.

LMD RichPack 3.X for Delphi / CBuilder

--------------------------------------------------------------------------------

Date: 17.04.2005
(© by LMD Innovative, (http://www.lmd.de or http://www.lmdtools.com)

Introduction

LMD RichPack 3.X is a collection of 17 native VCL components that can be compiled into your application royalty free. The package contains several controls which are based on MS RichEdit DLL (including support for version 3) and which allows integration of text editors providing predefined dialogs (like Preview dialog with Zoom features) and hypertext functionality. New in version 3.X is support of special datafields (e.g. bookmarks). In addition the package contains resource saving label controls which can display RTF text including hyperlinks and graphics.

[Top]

System Requirements


Operating System and hardware requirements depend on the installed Delphi/C++ Builder version.
Support for Delphi/C++ Builder version 5 and higher.
Required Space: 2 to 10 M, depends on selected installation options.
Media Type: Online only
Documentation: Includes online help files for Delphi/C++ Builder integration.

--------------------------------------------------------------------------------
[Top]
Features

17 components including full sourcecode
Provides Editor, HyperText and simple SyntaxEdit controls (incl. database versions)
More than 20 predefined editor actions allow fast creation of menus and toolbars.
Allows storing of RichText snippets as form data.
Free updates via Internet (Version 3.X)
Free technical support via newsgroup (news.lmdtools.com), e-mail, fax or mail
Also available as part of LMD-Tools 7 Standard, Pro or CE



아래는 데모에 포함된 파스칼 신텍스 설정파일 예제입니다.

object TLMDRichSyntaxDefinition
  Keywords.Strings = (
    'begin'
    'end'
    'inherited'
    'unit'
    'interface'
    'implementation'
    'uses'
    'unit'
    'protected'
    'private'
    'public'
    'published'
    'class'
    'record'
    'type'
    'procedure'
    'function'
    'if'
    'then'
    'else'
    'var'
    'with'
    'do'
    'for'
    'to'
    'constructor'
    'destructor'
    'virtual'
    'override'
    'static'
    'overload'
    'dynamic'
    'read'
    'write'
    'property'
    'package'
    'or'
    'and'
    'not'
    'program')
  SingleLineComments.Strings = (
    '//'
    '{')
  KeywordFont.Charset = DEFAULT_CHARSET
  KeywordFont.Color = clNavy
  KeywordFont.Height = -13
  KeywordFont.Name = 'Courier New'
  KeywordFont.Style = [fsBold]
  StringFont.Charset = DEFAULT_CHARSET
  StringFont.Color = clBlue
  StringFont.Height = -13
  StringFont.Name = 'Courier New'
  StringFont.Style = []
  CommentsFont.Charset = DEFAULT_CHARSET
  CommentsFont.Color = clGreen
  CommentsFont.Height = -13
  CommentsFont.Name = 'Courier New'
  CommentsFont.Style = []
  NumbersFont.Charset = DEFAULT_CHARSET
  NumbersFont.Color = clMaroon
  NumbersFont.Height = -13
  NumbersFont.Name = 'Courier New'
  NumbersFont.Style = []
  StringDelim = #39
end



jonglee 님이 쓰신 글 :
: SynEdit를 써보려고 하는데
: 새로 정의한 언어의 문법을 등록시키는게 정말 힘드네요.
:
: SynGen으로 만든 컴퍼넌트는 빌더에서 컴파일이 안되고,
: Unhighlight는 컴퍼넌트 등록이 안되고..
:
: 둘 다 델파이용으로만 만들어져서 그런지
: 아무리 해도 안되네요.
:
: 상용이라도 좋으니 쓸만한 에디터 컴퍼넌트 좀 알려주세요.
:
: 감사합니다~~

+ -

관련 글 리스트
40161 Syntax Highlight 기능이 있는 에디터 컴퍼넌트 좀 알려주세요 jonglee 777 2005/05/13
40165     Re:Syntax Highlight 기능이 있는 에디터 컴퍼넌트 좀 알려주세요 smleelms 1366 2005/05/13
40195         감사합니다 jonglee 794 2005/05/16
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.