⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 一个简单的文本编辑器
💻
📖 第 1 页 / 共 5 页
字号:
	gedit_document_insert_text.	(gedit_undo_redo): ditto	* file.c (gedit_file_open_ok_sel): don't create the	view here. gedit_document_new_with_file will.	* view.c (views_delete): use gedit_view_delete	(gedit_view_delete): new function. 	* view.c (doc_delete_text_cb): rewrite2000-06-04  Chema Celorio  <chema@celorio.com>	* view.c (gedit_view_insert): don't freeze and thaw the view.	(views_delete): ditto.	* file.c (gedit_file_stdin): insert to view with the new method.	(gedit_file_save): ditto	(gedit_file_open): if doc = null create one.	* document.h: add new functions	* view.c (gedit_add_view): fix . use gedit_document_get_buffer	(gedit_view_buffer_sync): delete	(gedit_view_refresh): delete	* document.c (gedit_document_new_with_title): set doc->filename	(gedit_document_load): implement.	* gedit.c (main): call gedit_document_load.	* view.c (gedit_view_buffer_sync): dont need it anymore	(gedit_view_refresh): don't need it anymore	(gedit_view_insert): new function	(views_insert): call gedit_view_insert	* document.c (gedit_document_destroy): we don't keep an	internal buffer of the file. So remove all references to it.	(gedit_document_new): ditto	(gedit_document_new_with_title): ditto	* file.c: renamed the functios to gedit_file_[function]2000-06-03  Chema Celorio  <chema@celorio.com>	* view.c (gedit_event_key_press): undo/redo was beeing	called twice when pressing the shortcut key.	* view.c: remove \n from gedit_debug	* document.c: ditto	* print.c: ditto	* file.c: ditto	* recent.c: ditto	* search.c : ditto2000-06-02  Chema Celorio  <chema@celorio.com>	* undo.c (gedit_undo_merge): consider deleting	text with the backspace and the delete key.2000-06-04 Roberto Majadas <phoenix@nova.es>	* gedit.c (main): added a call to gedit_file_stdin	* file.c (gedit_file_stdin): new function. Reads file from	stdin.	* document.c (gedit_document_stdin): new function2000-06-02  Chema Celorio  <chema@celorio.com>	* undo.c (gedit_undo_check_size): implement.	checks the undo list size and deletes the objects	with levels < settings->undo_levels	* dialogs/dialog-prefs.c (apply_cb): added undo_levels_stuff	(undo_levels_toggled): new function	(prepare_documents_page): add undo levels stuff	* prefs.c: add undo levels.	* prefs.h (struct _Preferences): ditto.	* undo.c (gedit_undo_merge): check if the position	of the undo text is the same as the last_undo	(gedit_undo_merge): merge GEDIT_UNDO_DELETE too.2000-06-02  Chema Celorio  <chema@celorio.com>	* undo.c (gedit_undo_merge): New function. Merges	a previous undo item with the new data. We now undo	words and not chars. This also saves memory because	of less gedit_undo struct's used.	(gedit_undo_free_list): new function. Plugs a memleak	(gedit_undo_add): verify if the data can be merged	and call gedit_free_list	* utils.h (gedit_debug): add newline to the undo macros,	we have to delete the newline from all the other files.	* undo.h (GEDIT_UNDO_DELETE): use unique enum's	and not DELETE & INSERT2000-06-01  Chema Celorio  <chema@celorio.com>	* view.c (gedit_view_current): new function we should use	this function now to add an abstraction layer for future	changes.	* undo.c (gedit_undo_add): plug a HUGe leak	(gedit_undo_do): plug another leak.	(gedit_undo_redo): adjust the current view, not undo->view	(gedit_undo_do): ditto	* undo.h (struct _gedit_undo): remove *view from _gedit_undo	structure, we don't need it anymore and saves memory.2000-06-01  Jason Leach  <leach@wam.umd.edu>	* dialogs/Makefile.am (glade_msgs): removed find-line.glade.h so	make distcheck could pass2000-06-01  Chema Celorio  <chema@celorio.com>	* document.h (struct _Document): rename buff to buffer	to find all the places where it is beeing used.	* file.c: use buffer now v.s. buff	* document.c (gedit_document_get_buffer): new function,	this provides an abstraction layey on the method to get	the text buffer.	* undo.c (gedit_undo_do): don't update the internal	buffer, this was causing a crash.	* undo.c (gedit_undo_redo): ditto	* view.c (insert_into_buffer): remove	* dialogs/dialog-replace.c (dialog_replace): kill	warning2000-05-31  Chema Celorio  <chema@celorio.com>	* dialogs/dialog-replace.c: use the new function	* undo.c (gedit_undo_do): use new function	(gedit_undo_redo): ditto	* view.c: added views_insert and view_delete	(gedit_view_list_insert): deleted	(views_delete): moved here	(views_insert): moved here	(doc_insert_text_cb): rewrote and. Now uses the new	view function	Starting to clean this ugly file.	* undo.c: move the views_insert and view_delete to view	* dialogs/dialog-replace.c (dialog_replace): fix the problem when	the dialog pops up in 2 diferent locations.	moved the views_insert code to view.c2000-05-30  Chema Celorio  <chema@celorio.com>	* undo.c (gedit_undo_do): before undoing/redoing	adjust the window so that we dont have to see	the document scroll in a very anoying fashion	(gedit_undo_redo): ditto.	* document.h (struct _Document): added untitled_number	entry.	* view.c : #ifdef out split screen code	* undo.c : #ifdef out split screen code	* document.c : #ifdef out split screen code	It seems that the speed problems have been solved !	We need to confirm this whit the users that reported	them.	(gedit_get_document_tab_name): fix, added new parameter.	* dialogs/dialog-prefs.c (gedit_window_refresh): set split screen in	all docs and all views.2000-05-29  Chema Celorio  <chema@celorio.com>	* print.c (print_determine_lines): fix	(print_line): fix	* pixmaps/gedit-icon.xpm : fix2000-05-25  Chema Celorio  <chema@celorio.com>	* dialogs/dialog-replace.c (replace_text_clicked_cb): first	implementation of replace all.	* view.c: use new debug function ( macro )2000-05-24  Chema Celorio  <chema@celorio.com>	* undo.c (views_insert): before undoing check whether there	is a piece of text selected.If there is, unselect it.	(views_delete): same	* view.c (doc_insert_text_cb): go back to the original	parameters, we were overloading a mdi_view function so we	can't change those.2000-05-24  Chema Celorio  <chema@celorio.com>	* dialogs/dialog-replace.c (replace_text_clicked_cb): replace now	works, it still needs some love.	* undo.c (views_insert): disable split screen, it	was making gedit slow	(views_delete): ditto	* view.c (doc_insert_text_cb): changed parameters for	function.	* view.h: reflect new parameters	* dialogs/dialog-replace.c (views_delete): added this function	to delete text before replacing. **-- Found more about what	the speed problems with gedit are --**. 	* file.c (file_revert_cb): do not revert a (NULL) file,	since we don't have a filename to rever it to.	* undo.c (gedit_undo_redo): clean the code a bit	* dialogs/dialog-replace.c: merge dialog-search and	dialog-replace, they now share the code and the glade	file. We just hide the "replace" stuff in the dialog	when called from search.		* dialogs/dialog-search.c : deleted	* dialogs/search.glade : deleted	* dialogs/search.glade.h : deleted2000-05-24  Chema Celorio  <chema@celorio.com>	* dialogs/dialog-replace.c: start the replace stuff.	* dialogs/dialog-search.c (search_text_clicked_cb): Improve fix	behaivor	(search_text_clicked_cb): let the user know that the search was	not successfull. I am still don't like the way we are doing so	but is better than nothing.2000-05-23  Chema Celorio  <chema@celorio.com>	* view.c (view_changed_cb): don't call set readonly	this was causing a mess with the "Untitled #" name for each view.	* file.c (gedit_file_save): after saving as, turn the	readonly flag off in all views. 	* document.c: change gedit_debug to the new form	(gedit_get_document_tab_name): fixed a small bug	* dialogs/dialog-goto-line.c (dialog_goto_line): set dialog's parent	* dialogs/dialog-search.c (dialog_find): ditto2000-05-23  Chema Celorio  <chema@celorio.com>	* dialogs/dialog-search.c (dialog_find): make window	modal and do more checks.	* dialogs/dialog-goto-line.c (goto_line_activate_cb):	rename find_line -> goto_line	(dialog_goto_line): make window modal to avoid weird	situations	* dialogs/dialogs.h: ditto	* search.c (goto_line_cb): ditto2000-05-22  Chema Celorio  <chema@celorio.com>	* window.c (gedit_window_set_icon): use the correct	name for the new transparent icon.	* search.c (search_text_execute): use a mask for case	sensitive. It's better than duplicating code.2000-05-22  Chema Celorio  <chema@celorio.com>	* search.c: improve search robustnes a bit,	there is still more work to do.2000-05-21  Chema Celorio  <chema@celorio.com>	* search.c: Rewrote2000-05-13  Chema Celorio  <chema@celorio.com>	* utils.h (gedit_debug): add debug recent	* gedit.c (options): add debug recent	* utils.c: deleted debug function, we are now	using a macro Jason wrote.	2000-05-17  Jason Leach  <leach@wam.umd.edu>	* view.c: cleaning up some of the debug messages.	* prefs.c: ditto.2000-05-12  Jason Leach  <leach@wam.umd.edu>	* view.c (gedit_event_key_press): removed unused variable 'gint	mask'2000-05-05  Jason Leach  <leach@wam.umd.edu>	* window.c: changed references to gE_icon to point to the new	gedit-icon2000-05-01  Chema Celorio  <chema@celorio.com>	* dialogs/dialog-prefs.c (prepare_fontscolors_page): leak.	(apply_cb): leak.	* view.c (doc_delete_text_cb): leak2000-05-01  Chema Celorio  <chema@celorio.com>	* print.c (print_header): leak x 3	(print_ps_line): leak.2000-05-01  Jason Leach  <leach@wam.umd.edu>	* undo.c (gedit_undo_do): plugged a leak that happened everytime	you did undo then redo.	* recent.c (recent_update_menus): fixed a 35-45 byte leak that	happened every time you opened a file or this was called (visit a	file already in your recent list, etc).	* view.c (gedit_event_button_press): fixed a silly 20-byte leak	that happened on every button press event in a document.	* view.c (gedit_view_init): fixed a 624-byte leak that happened	with every document you opened.2000-05-01  Chema Celorio  <chema@celorio.com>	* document.c (gedit_document_new): leak2000-05-01  Jason Leach  <leach@wam.umd.edu>	* view.c (doc_insert_text_cb): added a call to insert_into_buffer,	this is important because otherwise doc->buf->str otherwise won't	contain the contents of your document until you save or something,	so like the e-mail plugin sends no body on Untitled documents.2000-05-01  Chema Celorio  <chema@celorio.com>	* plugin.c (gedit_plugins_window_add): memleaks -= 1;	* recent.c (recent_update_menus): memleaks -= 1;2000-05-01  Chema Celorio  <chema@celorio.com>	* recent.c (recent_update_menus): memleaks -= 4;	* plugin.c (gedit_plugins_window_add): memleaks -= 6;		* prefs.c (prefs_determine_use_fontset): memleaks -= 1;2000-04-29  Jason Leach  <leach@wam.umd.edu>	* gedit.c (options): new command-line options --debug-print and	--debug-file, to show only sections of debugging messages.		* utils.h (gedit_debug): added sectioning of DEBUG_PRINT and	DEBUG_FILE		* all files: renamed gedit_debug_mess -> gedit_debug		* gedit.c (options): new command-line option --debug to turn on	debug messages in gedit, default to disable.	* utils.h (gedit_debug): new debug stdout thingy.	* utils.c (gedit_debug_mess): #if'd out this, it's getting	replaced with a #define'd gedit_debug in utils.h2000-04-29  Chema Celorio  <chema@celorio.com>	* print.c: typo.	* plugin.c (gedit_plugins_window_add): Memory leak fix,	free path.2000-04-28  Chema Celorio  <chema@celorio.com>	* print.c (file_print_cb): Finished the word wrapping	stuff	* recent.c (recent_update_menus): Fix a bug that will make	the print item in the File menu disapear when the recent	file list was < 4. 2000-04-27  Chema Celorio  <chema@celorio.com>	* print.c (print_line): Started doing the word wrapping	versus word clipping so that we can use the printing 	code in pan.	* menus.c (gedit_file_menu): Fixed a small bug where the	print menu item will appear in the wrong place if gedit	is launched with a file as an argument.2000-04-25  Jason Leach  <leach@wam.umd.edu>	* recent.c: Replaced the use of gnome-history with custom routines

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -