<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[VnOSS forum - Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
	<link rel="self" href="http://forum.vnoss.org/feed-atom-topic3179.xml"/>
	<updated>2006-08-06T10:55:03Z</updated>
	<generator>FluxBB</generator>
	<id>http://forum.vnoss.org/topic3179.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20618.html#p20618"/>
			<content type="html"><![CDATA[bác Hải chạy nano trong gnome terminal đi gõ vô tư.]]></content>
			<author>
				<name><![CDATA[truongan]]></name>
				<uri>http://forum.vnoss.org/user1237.html</uri>
			</author>
			<updated>2006-08-06T10:55:03Z</updated>
			<id>http://forum.vnoss.org/post20618.html#p20618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20610.html#p20610"/>
			<content type="html"><![CDATA[Còn cái nano được Debian và Gentoo dùng làm default editor thì sao hè ?]]></content>
			<author>
				<name><![CDATA[maikhai]]></name>
				<email><![CDATA[mkhsgn@gmail.com]]></email>
				<uri>http://forum.vnoss.org/user292.html</uri>
			</author>
			<updated>2006-08-06T05:15:51Z</updated>
			<id>http://forum.vnoss.org/post20610.html#p20610</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20605.html#p20605"/>
			<content type="html"><![CDATA[Hay quá, nhờ thêm cái [i]patch[/i] của lão mrchuoi nay có thể gõ tiếng Việt ngon lành với [i]xvnkb[/i] trong [i]geany[/i] rồi :) Thnx.

Gói rpm cho FC5 có thể tải về từ [erl=http://th02zone.com/vnpenguin/rpm/geany/]đây[/erl].

[img]http://static.flickr.com/85/207400481_e70825d074.jpg[/img]]]></content>
			<author>
				<name><![CDATA[vnpenguin]]></name>
				<uri>http://forum.vnoss.org/user5.html</uri>
			</author>
			<updated>2006-08-05T18:27:12Z</updated>
			<id>http://forum.vnoss.org/post20605.html#p20605</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20604.html#p20604"/>
			<content type="html"><![CDATA[[quote=Tenebrus Riddle]geany cũng tốt, nghe có vẻ có tương lai tươi sáng.
geany không gõ được Unicode bằng xvnkb là do một lỗi logic của scintilla. Tác giả của scintilla cho rằng, nếu sử dụng giao diện tiếng Anh, thì không cần dùng IM. Điều này có vẻ không đùng với dân Việt Nam, phần lớn chúng ta vẫn sử dụng giao diện tiếng Anh nhưng vẫn cần soạn thảo tiếng Việt.
Để fix lỗi này, mọi ngưởi phải sửa vào src và biên dịch lại geany. Mình gửi mọi người đoạn patch đơn giản này:
[code]--- src/src/highlighting.c      3 May 2006 04:07:17 -0000       1.1.1.1
+++ src/src/highlighting.c      3 Jun 2006 07:24:54 -0000       1.4
@@ -208,9 +208,12 @@ void styleset_common(ScintillaObject *sc
        SSM(sci, SCI_SETUSETABS, TRUE, 0);
        SSM(sci, SCI_SETTABWIDTH, app->pref_editor_tab_width, 0);

       // colourize the current line
       SSM(sci, SCI_SETCARETLINEBACK, types[GEANY_FILETYPES_ALL]->styling[4][1], 0);
       SSM(sci, SCI_SETCARETLINEVISIBLE, 1, 0);
+       // enable UTF-8 input method
+       SSM (sci, SCI_SETCODEPAGE, SC_CP_UTF8, 0);
+       SSM (sci, SCI_STYLESETCHARACTERSET, STYLE_DEFAULT, SC_CHARSET_VIETNAMESE);

        // a darker grey for the line number margin
        SSM(sci, SCI_STYLESETBACK, STYLE_LINENUMBER, 0xD0D0D0);[/code]
[/quote]
Cần phải bổ sung thêm [url=http://xvnkb.sourceforge.net/geany-xim.patch]patch này[/url] nữa.  Patch này chỉ làm mỗi việc là re-enable chế độ xử lý XIM sẵn có của Gtk mà Geany đã lỡ "nuốt mất" :-)]]></content>
			<author>
				<name><![CDATA[mrchuoi]]></name>
				<uri>http://forum.vnoss.org/user174.html</uri>
			</author>
			<updated>2006-08-05T17:58:56Z</updated>
			<id>http://forum.vnoss.org/post20604.html#p20604</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20564.html#p20564"/>
			<content type="html"><![CDATA[@ Tenebrus Riddle: tôi thử patch của bạn đề nghị với phiên bản 0.7.1, nhưng vẫn không gõ tiếng Việt với xvnkb được. Cứ mỗi lần bỏ dấu (kiểu Telex) là nó hiện ra "Color dialog" để chọn màu :)]]></content>
			<author>
				<name><![CDATA[vnpenguin]]></name>
				<uri>http://forum.vnoss.org/user5.html</uri>
			</author>
			<updated>2006-08-04T15:21:11Z</updated>
			<id>http://forum.vnoss.org/post20564.html#p20564</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20538.html#p20538"/>
			<content type="html"><![CDATA[abiwork... phần mềm nào mới vậy ta :D]]></content>
			<author>
				<name><![CDATA[KyAnh]]></name>
				<uri>http://forum.vnoss.org/user278.html</uri>
			</author>
			<updated>2006-08-04T02:21:43Z</updated>
			<id>http://forum.vnoss.org/post20538.html#p20538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20523.html#p20523"/>
			<content type="html"><![CDATA[thế thì dùng Kpag đi cho rồi, hoặc Knote cũng được mà
còn thích tý nữa thì ANBIWORK]]></content>
			<author>
				<name><![CDATA[rootit]]></name>
				<email><![CDATA[smarterha@gmail.com]]></email>
				<uri>http://forum.vnoss.org/user1774.html</uri>
			</author>
			<updated>2006-08-03T10:05:53Z</updated>
			<id>http://forum.vnoss.org/post20523.html#p20523</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20501.html#p20501"/>
			<content type="html"><![CDATA[geany cũng tốt, nghe có vẻ có tương lai tươi sáng.
geany không gõ được Unicode bằng xvnkb là do một lỗi logic của scintilla. Tác giả của scintilla cho rằng, nếu sử dụng giao diện tiếng Anh, thì không cần dùng IM. Điều này có vẻ không đùng với dân Việt Nam, phần lớn chúng ta vẫn sử dụng giao diện tiếng Anh nhưng vẫn cần soạn thảo tiếng Việt.
Để fix lỗi này, mọi ngưởi phải sửa vào src và biên dịch lại geany. Mình gửi mọi người đoạn patch đơn giản này:
[code]--- src/src/highlighting.c      3 May 2006 04:07:17 -0000       1.1.1.1
+++ src/src/highlighting.c      3 Jun 2006 07:24:54 -0000       1.4
@@ -208,9 +208,12 @@ void styleset_common(ScintillaObject *sc
        SSM(sci, SCI_SETUSETABS, TRUE, 0);
        SSM(sci, SCI_SETTABWIDTH, app->pref_editor_tab_width, 0);

       // colourize the current line
       SSM(sci, SCI_SETCARETLINEBACK, types[GEANY_FILETYPES_ALL]->styling[4][1], 0);
       SSM(sci, SCI_SETCARETLINEVISIBLE, 1, 0);
+       // enable UTF-8 input method
+       SSM (sci, SCI_SETCODEPAGE, SC_CP_UTF8, 0);
+       SSM (sci, SCI_STYLESETCHARACTERSET, STYLE_DEFAULT, SC_CHARSET_VIETNAMESE);

        // a darker grey for the line number margin
        SSM(sci, SCI_STYLESETBACK, STYLE_LINENUMBER, 0xD0D0D0);[/code]]]></content>
			<author>
				<name><![CDATA[Tenebrus Riddle]]></name>
				<uri>http://forum.vnoss.org/user1548.html</uri>
			</author>
			<updated>2006-08-03T04:50:30Z</updated>
			<id>http://forum.vnoss.org/post20501.html#p20501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20432.html#p20432"/>
			<content type="html"><![CDATA[thôi em nói với các bác cũng như không
các bác cứ thần tượng Vim quá, phần mềm đó xài cực như trâu chứ đâu như các editor khác
kiểu này chắc em quay về win chơi editor]]></content>
			<author>
				<name><![CDATA[tendangnhap]]></name>
				<uri>http://forum.vnoss.org/user2090.html</uri>
			</author>
			<updated>2006-08-01T13:33:35Z</updated>
			<id>http://forum.vnoss.org/post20432.html#p20432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20431.html#p20431"/>
			<content type="html"><![CDATA[[quote=lihavim]
OKie, đúng kà kate tốt thật.
Unicode, hight light với tính năng cây đó cũng ngon.
Thanks bác.
Vim thì em chưa thử, chắc phải học bài bản nó xem sao, thấy nhiều người khen nó quá :D.[/quote]
dùng vim/gvim xong là chả muốn dùng gì nữa cả, dẹp geany, dẹp luôn hacao :D (đợi em quote cái j/k đã)

trên slack, "ls -l vi" -> "vi -> elvis" :D]]></content>
			<author>
				<name><![CDATA[cuteobr]]></name>
				<uri>http://forum.vnoss.org/user1651.html</uri>
			</author>
			<updated>2006-08-01T12:47:53Z</updated>
			<id>http://forum.vnoss.org/post20431.html#p20431</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20389.html#p20389"/>
			<content type="html"><![CDATA[vim khó dùng lắm, không như các editor khác
mục đích là dùng editor chứ ngồi mò cái vim thôi cũng hết giờ
em thấy cái xxx Kate hay Kwrite nó highlight ko ngon bằng xxx Geany
được cái này thì mất cái kia
mỗi xxx notepad++ trên window là em dùng ngon, ngặt nỗi không có bản cho linux]]></content>
			<author>
				<name><![CDATA[tendangnhap]]></name>
				<uri>http://forum.vnoss.org/user2090.html</uri>
			</author>
			<updated>2006-08-01T02:05:28Z</updated>
			<id>http://forum.vnoss.org/post20389.html#p20389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20375.html#p20375"/>
			<content type="html"><![CDATA[[quote=lihavim]
OKie, đúng kà kate tốt thật.
Unicode, hight light với tính năng cây đó cũng ngon.
Thanks bác.
Vim thì em chưa thử, chắc phải học bài bản nó xem sao, thấy nhiều người khen nó quá :D.[/quote]
Oja khoái vi chỉ vì nó cực kỳ gọn nhẹ. Trên CLI vẫn highlight tốt với C, perl, bash codes (các loại khác chưa test). Trên GUI còn ghê hơn, có cả màu mè :D. 
xunikey dùng tốt với vi, xài  trên Slackware 10.2 và Eterm.
Oja_igze]]></content>
			<author>
				<name><![CDATA[oja_igeze]]></name>
				<uri>http://forum.vnoss.org/user1290.html</uri>
			</author>
			<updated>2006-07-31T19:02:29Z</updated>
			<id>http://forum.vnoss.org/post20375.html#p20375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20362.html#p20362"/>
			<content type="html"><![CDATA[[quote=mudzot]Dùng viết code thì kate tốt hơn kwrite, nhưng dùng vim phê hơn :D[/quote]
OKie, đúng kà kate tốt thật.
Unicode, hight light với tính năng cây đó cũng ngon.
Thanks bác.
Vim thì em chưa thử, chắc phải học bài bản nó xem sao, thấy nhiều người khen nó quá :D.]]></content>
			<author>
				<name><![CDATA[lihavim]]></name>
				<uri>http://forum.vnoss.org/user1004.html</uri>
			</author>
			<updated>2006-07-31T15:13:19Z</updated>
			<id>http://forum.vnoss.org/post20362.html#p20362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20360.html#p20360"/>
			<content type="html"><![CDATA[Dùng viết code thì kate tốt hơn kwrite, nhưng dùng vim phê hơn :D]]></content>
			<author>
				<name><![CDATA[mudzot]]></name>
				<uri>http://forum.vnoss.org/user1174.html</uri>
			</author>
			<updated>2006-07-31T14:53:49Z</updated>
			<id>http://forum.vnoss.org/post20360.html#p20360</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cần sự giúp đỡ  về text editor có hỗ trợ hight light]]></title>
			<link rel="alternate" href="http://forum.vnoss.org/post20359.html#p20359"/>
			<content type="html"><![CDATA[[quote=jack]Ờ chuối thật, cứ gõ unicode trong Geany là nó lại hiện ra bảng chọn màu, đố mà gõ được, lại phải dùng x-unikey.
Nói chung cả xvnkb và x-unikey đều chuối, tốt nhất dùng cả 2.[/quote]
Bác còn xài được cả 2 chứ em mà xài x-unikey là giở chứng ngay.
Em test qua gedit thì thấy đúng là ngon thật, nhưng nó không có tính năng mở đóng cái cây nhu geany hay Kwrite. Tiếc thật, được cái này mất cái kia.]]></content>
			<author>
				<name><![CDATA[lihavim]]></name>
				<uri>http://forum.vnoss.org/user1004.html</uri>
			</author>
			<updated>2006-07-31T14:43:43Z</updated>
			<id>http://forum.vnoss.org/post20359.html#p20359</id>
		</entry>
</feed>
