에디터 컴포넌트 자료실
글수 39
| 라이센스 | GPL2 |
|---|---|
| 기타 라이센스 | |
| 적용 버전 | 정식버전(1.0이후) |
베타버전 동안 기본 패키지에 포함되어 있었던 Code Highlighter입니다.
범용적으로 사용되는 것은 아닌거 같아서 기본 패키지에서 빼서 올립니다^^
기능추가 등 변경사항은 없습니다.

범용적으로 사용되는 것은 아닌거 같아서 기본 패키지에서 빼서 올립니다^^
기능추가 등 변경사항은 없습니다.
2008.03.14 23:28:19 (*.131.116.113)
버그 같은데요...
코드를 붙여 넣기하면 아래처럼 여러개로 나누어지는데 왜 그런거나요?
코드를 붙여 넣기하면 아래처럼 여러개로 나누어지는데 왜 그런거나요?
// win4.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다. //
#include "stdafx.h" #include<iostream> #include<iomanip> using namespace std;
class CWATmergesort
{
private:
int *x,*y,*z;
int items1,items2;
public:
CWATmergesort(int,int);
~CWATmergesort();
void input1(int []);
void input2(int []);
void msort(int [], int);
void display();
void sort();
};
// win4.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include<iostream>
#include<iomanip>
using namespace std;
class CWATmergesort
{
private:
int *x,*y,*z;
int items1,items2;
public:
CWATmergesort(int,int);
~CWATmergesort();
void input1(int []);
void input2(int []);
void msort(int [], int);
void display();
void sort();
};
2008.04.21 02:50:23 (*.69.219.229)
// win4.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include<iostream>
#include<iomanip>
using namespace std;
class CWATmergesort
{
private:
int *x,*y,*z;
int items1,items2;
public:
CWATmergesort(int,int);
~CWATmergesort();
void input1(int []);
void input2(int []);
void msort(int [], int);
void display();
void sort();
};그냥 붙여넣기 해도 되네요...ㅎㅎ
2008.07.27 21:47:07 (*.124.117.16)
HTML에서 documen type정의 태그가 표기되지 않고 실제 태그로 처리되어버리는듯 합니다.
이걸 받아서 깔았는데 실제 사용했을때 다음 태그가
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

이렇게 표현됩니다.
여기선 괜찮네요;; 댓글에서는 괜찮은건지 시험해봐야겠네요.
2008.09.17 06:28:52 (*.49.106.50)
// win4.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include<iostream>
#include<iomanip>
using namespace std;
class CWATmergesort
{
private:
int *x,*y,*z;
int items1,items2;
public:
CWATmergesort(int,int);
~CWATmergesort();
void input1(int []);
void input2(int []);
void msort(int [], int);
void display();
void sort();
};
2008.10.11 03:46:40 (*.185.225.29)
#include "stdafx.h"
#include<iostream>
#include<iomanip>
using namespace std;
class CWATmergesort
{
private:
int *x,*y,*z;
int items1,items2;
public:
CWATmergesort(int,int);
~CWATmergesort();
void input1(int []);
void input2(int []);
void msort(int [], int);
void display();
void sort();
};
2008.10.12 23:41:46 (*.31.234.146)
// win4.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include<iostream>
#include<iomanip>
using namespace std;
class CWATmergesort
{
private:
int *x,*y,*z;
int items1,items2;
public:
CWATmergesort(int,int);
~CWATmergesort();
void input1(int []);
void input2(int []);
void msort(int [], int);
void display();
void sort();
};
2008.10.13 22:00:37 (*.31.234.146)
/* About dialog styles */
.dp-about { background-color: #fff; color: #333; margin: 0px; padding: 0px; }
.dp-about table { width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; }
.dp-about td { padding: 10px; vertical-align: top; }
.dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; }
.dp-about .title { color: red; background-color: inherit; font-weight: bold; }
.dp-about .para { margin: 0 0 4px 0; }
.dp-about .footer { background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right; }
.dp-about .close { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px; }
/* Language specific styles */
.dp-highlighter .comment,
.dp-highlighter .comments { color: #008200; background-color: inherit; }
.dp-highlighter .string { color: #FF00FF; background-color: inherit; }
.dp-highlighter .keyword { color: #0000FF; background-color: inherit; }
.dp-highlighter .preprocessor { color: gray; background-color: inherit; }
.dp-highlighter .func { color: #FF0000; }
.dp-highlighter .vars { color: #008080; }
이곳에서는 스크롤바가 안생기는군요...ㅡ.ㅡ
왜 그럴까요?
2008.12.01 18:20:39 (*.174.206.60)
class code_highlighter extends EditorHandler {
// editor_sequence �뒗 �뿉�뵒�꽣�뿉�꽌 �븘�닔濡� �떖怨� �떎����빞 �븿 var $editor_sequence = 0; var $component_path = '';
/**
* @brief editor_sequence怨� 而댄룷�꼳�듃�쓽 寃쎈줈瑜� 諛쏆쓬
**/
function code_highlighter($editor_sequence, $component_path) {
$this->editor_sequence = $editor_sequence;
$this->component_path = $component_path;
}
/**
* @brief popup window�슂泥��떆 popup window�뿉 異쒕젰�븷 �궡�슜�쓣 異붽���븯硫� �맂�떎
**/
function getPopupContent() {
// �뀥�뵆由우쓣 誘몃━ 而댄뙆�씪�빐�꽌 而댄뙆�씪�맂 �냼�뒪瑜� return
$tpl_path = $this->component_path.'tpl';
$tpl_file = 'popup.html';
Context::set("tpl_path", $tpl_path);
$oTemplate = &TemplateHandler::getInstance(); return $oTemplate->compile($tpl_path, $tpl_file); }






상당히 유용하게 잘쓰고 있습니다. ^ ^ 전 처음 이걸 접하고 많이 놀랬는데..우와~~신기하당.ㅋㅋㅋ
앞으로도 좋은 자료 부탁드립니다.