summaryrefslogtreecommitdiff
path: root/xedit.c
AgeCommit message (Collapse)Author
2010-03-26xprint: remove conditionally defined related C codeGaetan Nadon
Reviewed-by: Jeremy Huddleston <jeremyhu@freedestop.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-01-26Set text properties after loading all command line files.Paulo Cesar Pereira de Andrade
This is more of a workaround for a problem where the first file will end up using the "text properties" of the last file with a syntax highlight definition. A more proper correction could be to actually display the last file loaded (and removed the duplicated code in xedit.c:main()).
2008-10-08Rewrite double click confirmation code.Paulo Cesar Pereira de Andrade
Remove the double_click global boolean, and change dc_state to a bit field, instead of a single state variable. The old code was the xedit original code with minimal changes, but was a bit confusing when two confirmations would be required. Also, this patch moves the check for file overwriting before MaybeCreateFile() as it can actually call creat(), what means that it can no longer ask for confirmations, as the file has been just backed up, and a zero sized one created.
2008-07-02Add a tags interface to xedit.Paulo Cesar Pereira de Andrade
To use the tags, first create a tags file with a command like "ctags -R". The interface can be disabled with resources, see the updated man page. Tag files are searched descending to the root directory. Multiple tags files are properly handled, and multiple symbol definitions can be searched.
2008-07-02Add support to enter line number in command line.Paulo Cesar Pereira de Andrade
This works the same way as for vi, i.e. "xedit file +num" will load file and move cursor to line "num".
2008-07-02Fix several generic bugs including:Paulo Cesar Pereira de Andrade
o Several memory read/write errors. o Implement smarter XeditPrintf that will show how many times a text has been printed. o Check all arguments to XeditPrintf to ensure the '%' character cannot be sent to it. o Some minor reindentation to code that still had the original 2 spaces indentation.
2008-07-02Readd support for *international resource and default to false.Paulo Cesar Pereira de Andrade
This allows several features, like syntax highlight and indentation, turned off to be enabled again.
2005-10-21remove redundant includeAlan Hourihane
2004-09-02Restore xman and xedit changes that were previously reverted, and makerel-0-6-1lg3d-rel-0-7-0lg3d-baseXORG-6_8_1XORG-6_8_0XORG-6_7_99_904Kevin E Martin
Xprint support optional (Bug #1273, Roland Mainz).
2004-08-16As discussed and agreed on on the release-wranglers meeting of August 16,XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901Kristian Høgsberg
I'm committing the patch from bug #1060 to back out unconditional Xprint functionality. Back out Xprint changes. Revert xman to CVS of June 5, revert xlogo to CVS of May 8, revert xedit to CVS of April 25, to back out unconditional Xprint support. Fix up Xprint config logic to be like the rest of the extensions: BuildXprint is a one-stop option for disabling everything Xprint related. XprtServer controls building Xprt, BuildXprintLib controls building Xprint libs and BuildXprintClients controls building clients related to Xprint. BuiltXprint defaults to YES and the other options respects relevant settings, i.e. BuildServer and BuildServersOnly. Build Xaw regardless of BuildXprintLib setting. Only build xphelloworld, xplsprinters and xprehashprinterlist when BuildXprintClients it YES. Disable building xmore, it has always supported XawPrintShell. Make Xprint support depend on BuildXprintLib.
2004-05-30Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=695 - Add printRoland Mainz
support to Xedit
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2003-11-14Initial revisionKaleb Keithley