UltraEdit 색상 변경

Posted by Programmer™
2025. 5. 12. 13:04 카테고리 없음

 

여기서 설명한 UltraEdit 버전은 v31.3.0.xx 입니다.

※ 아주 오래된 UltraEdit 버전의 경우, 여기서 설명한 방식으로는 색상 변경이 되지 않을 수도 있습니다.

 

Studio Dark 테마를 사용하고 있는데 다른 것은 다 마음에 드는데 아래 그림처럼 현재 위치한 줄이 한눈에 들어오지가 않습니다.

그래서 이것을 바꾸려고 합니다.

 

 

 

먼저 UltraEdit 프로그램이 설치된 폴더로 이동합니다.  기본 설치 폴더는

"C:\Program Files\IDM Computer Solutions\UltraEdit\" 입니다.

 

C:\Program Files\IDM Computer Solutions\UltraEdit\default data\themes 폴더로 이동합니다.

 

Studio Dark.ue-theme 파일을 수정하기 전에 Ctrl-C, Ctrl-V 로 복사본을 하나 만들어둡니다.

 

 

 

Studio Dark.ue-theme 파일을 열면 441 번째 줄에 "Active Line" 이라고 있습니다.

Foreground (글자색) 와  Background(글자 뒤 배경색) 를 본인이 원하는 색으로 바꿔주면 됩니다.

 

색상은 #RRGGBB (Red, Green, Blue) 의 조합으로 구성됩니다.

 

저는 노랑색으로 전경색만 #FFFF00 으로 바꾸어 주었습니다. 수정한 내용을 저장하고 UltraEdit 를 다시 실행합니다.

 

 

 

UltraEdit 를 실행시켜보면 아래 그림처럼 훨씬 눈에 잘 들어옵니다.

 

 

UltraEdit 맑은고딕 사용하기

Posted by Programmer™
2024. 5. 4. 21:18 카테고리 없음

 

UltraEdit v27.00.0.94 에서는 맑은고딕을 폰트 설정에서 손쉽게 바꿀수 있었습니다만,

 

v27.10.0.148 부터는 폰트설정에서 맑은고딕이 표시되지가 않습니다.

 

 

 

 

아래 그림처럼 굴림체, 궁서체, 돋움체, 바탕체와 같은 고정간격글꼴만 표시되는 현상인데요.

 

 

 

 

이것은 새로 추가된 기능 때문에 그렇습니다.

 

UltraEdit v27.10 에서는 한 줄에 무제한의 열을 표시(display unlimited columns)하는 지원을 추가했는데,

이 무제한 열 표시 기능이  기본값으로 제공되다 보니 맑은 고딕이 표시되지 않게 됩니다.

 

즉, 모든 폰트를 다 표시하려면 무제한 열 표시 기능을 해제시켜 주면 해결됩니다.

 

 

고급 (Advanced) 메뉴의 설정 (Settings) 을 클릭합니다.

 

 

편집기 표시(Editor display) 에서 기타를 선택합니다.

 

Do not force wrap 를 체크해제 합니다.

 

따로 저장하는 버튼은 없으므로 그냥 창을 닫으면 자동으로 저장됩니다.

 

 

 

다시 폰트 설정으로 돌아와보면 이제 맑은 고딕이 표시되는 것을 확인할 수 있습니다.

 

 

 

 

 

 

UltraEdit 에서 ASCII 코드 보기

Posted by Programmer™
2023. 9. 28. 09:40 카테고리 없음

 

울트라에디트 Version 27.00.0.94 에서 아스키 코드 테이블을 볼려면 아래 그림처럼

 

Layout 에서 ASCII table 을 선택해주면 됩니다.

 

 

 

 

그러면 오른쪽에 표시가 됩니다.

 

 

UltraEdit 정규식

Posted by Programmer™
2018. 2. 4. 20:07 카테고리 없음

텍스트 파일을 편집하다가 보면 특정 단어가 들어있는 줄을 삭제하고자 할때가 있다.

크기가 얼마 안되는 경우 수작업으로 할수도 있지만 파일크기가 큰 경우엔 일일이 수작업으로 하기엔 벅차다.

이 때 정규식을 사용하면 쉽게 할 수 있다.

아래 그림은 ipfilter.dat 의 파일 내용이다. Level1을 의미하는 [L1] 이 들어있는 줄을 전부 지우고자 한다.

먼저 마우스로 긁어서 아래 그림처럼 작업할려는 줄을 선택해준다.

 

Ctrl + R 키를 눌러서 Find what: 에

^.*L1.*\p 를 입력한다. Selected text 를 선택해주고 Regular expressions: 에 체크표시를 해준다.

정규식은 Perl, Unix, UltraEdit 중에서 하나를 선택할 수 있다.

그리고 마지막으로 Replace all 을 클릭한다.

아래 그림은 위 정규식 작업 결과이다. 보시는 것처럼 [L1] 이 들어있는 줄은 전부 삭제되었다.

 

 

Regular Expressions (Unix Syntax): 

Symbol

Function

\

Indicates the next character has a special meaning.  "n" on it's own matches the character "n".  "\n" matches a linefeed or newline character.  See examples below (\d, \f, \n etc).

^

Matches/anchors the beginning of line.

$

Matches/anchors the end of line.

*

Matches the preceding single character/character set zero or more times.

+

Matches one or more of the preceding single character/character set.  At least one occurrence of the preceding character or one of the characters in preceding character set must be found.

Matches any single character except a newline character.  Does not match repeated newlines.

(expression)

Brackets or tags an expression to use in the replace command.  A regular expression may have up to 9 tagged expressions, numbered according to their order in the regular expression.
 
 
The corresponding replacement expression is \x, for x in the range 1-9.  Example: If (h.*o) (f.*s) matches "hello folks", \2 \1 would replace it with "folks hello".

[xyz]

A character set.  Matches any characters between brackets.

[^xyz]

A negative character set.  Matches any characters NOT between brackets including newline characters.

\d

Matches a digit character.  Equivalent to [0-9].

\D

Matches a nondigit character.  Equivalent to [^0-9].

\f

Matches a form-feed character.

\n

Matches a linefeed character.

\r

Matches a carriage return character.

\s

Matches any whitespace including space, tab, form-feed, etc but not newline.

\S

Matches any non-whitespace character but not newline.

\t

Matches a tab character.

\v

Matches a vertical tab character.

\w

Matches any alphanumeric character including underscore.

\W

Matches any character except alphanumeric characters and underscore.

\p

Matches CR/LF (same as \r\n) to match a DOS line terminator.