cssedwindow.h File Reference


Detailed Description

Header file for the cssed main window object.

Those functions are the interface for cssed's _CssedWindow object.

Definition in file cssedwindow.h.

Go to the source code of this file.

Defines

#define CSSED_WINDOW(n)   (CssedWindow*) n
 a macro to cast a pointer to CssedWindow
#define CSSED_ERROR_DOMAIN   g_quark_from_string ("CSSED_ERROR")
 error domain to be used on GError
#define CSSED_FILETYPE_DEFAULT   CSSED_FILETYPE_TEXT
#define CSSED_NUMFILETYPES   (CSSED_FILETYPE_USR9+1)

Typedefs

typedef _CssedDoc CssedDoc
 A utility data type for _CssedDoc structures.
typedef _CssedWindow CssedWindow
 A utility data type for _CssedWindow structures.

Enumerations

enum  CssedError {
  CSSED_FILE_ERROR_EXIST, CSSED_FILE_ERROR_ISDIR, CSSED_FILE_ERROR_ACCES, CSSED_FILE_ERROR_NAMETOOLONG,
  CSSED_FILE_ERROR_NOENT, CSSED_FILE_ERROR_NOTDIR, CSSED_FILE_ERROR_NXIO, CSSED_FILE_ERROR_NODEV,
  CSSED_FILE_ERROR_ROFS, CSSED_FILE_ERROR_TXTBSY, CSSED_FILE_ERROR_FAULT, CSSED_FILE_ERROR_LOOP,
  CSSED_FILE_ERROR_NOSPC, CSSED_FILE_ERROR_NOMEM, CSSED_FILE_ERROR_MFILE, CSSED_FILE_ERROR_NFILE,
  CSSED_FILE_ERROR_BADF, CSSED_FILE_ERROR_INVAL, CSSED_FILE_ERROR_PIPE, CSSED_FILE_ERROR_AGAIN,
  CSSED_FILE_ERROR_INTR, CSSED_FILE_ERROR_IO, CSSED_FILE_ERROR_PERM, CSSED_FILE_ERROR_FAILED,
  CSSED_FILE_ERROR_LAST, CSSED_ERROR_FILE_IS_OPENED, CSSED_ERROR_FILE_NOT_REGULAR, CSSED_ERROR_DOC_IS_NULL
}
 cssed related errors More...
enum  CssedEolMode { EOL_MODE_CRLF, EOL_MODE_CR, EOL_MODE_LF }
 cssed's end of line modes More...
enum  CssedCodePage { CSSED_CODEPAGE_DEFAULT, CSSED_CODEPAGE_UTF8, CSSED_CODEPAGE_DBCS }
 cssed's code pages More...
enum  CssedFileTypeId {
  CSSED_FILETYPE_UNKNOW, CSSED_FILETYPE_TEXT, CSSED_FILETYPE_BYNARY, CSSED_FILETYPE_CSS,
  CSSED_FILETYPE_HTML, CSSED_FILETYPE_PHP, CSSED_FILETYPE_XML, CSSED_FILETYPE_SH,
  CSSED_FILETYPE_C, CSSED_FILETYPE_APACHE_CONF, CSSED_FILETYPE_LISP, CSSED_FILETYPE_PERL,
  CSSED_FILETYPE_PYTHON, CSSED_FILETYPE_SQL, CSSED_FILETYPE_DIFF, CSSED_FILETYPE_JAVA,
  CSSED_FILETYPE_JS, CSSED_FILETYPE_MAKE, CSSED_FILETYPE_APDL, CSSED_FILETYPE_AU3,
  CSSED_FILETYPE_AVE, CSSED_FILETYPE_ADA, CSSED_FILETYPE_ASM, CSSED_FILETYPE_ASN1,
  CSSED_FILETYPE_BAAN, CSSED_FILETYPE_BASIC, CSSED_FILETYPE_BULLANT, CSSED_FILETYPE_CLW,
  CSSED_FILETYPE_CAML, CSSED_FILETYPE_CRONTAB, CSSED_FILETYPE_ESCRIPT, CSSED_FILETYPE_EIFFEL,
  CSSED_FILETYPE_ERLANG, CSSED_FILETYPE_FORTH, CSSED_FILETYPE_FORTRAN, CSSED_FILETYPE_GUI4CLI,
  CSSED_FILETYPE_KIX, CSSED_FILETYPE_LOUT, CSSED_FILETYPE_LUA, CSSED_FILETYPE_MMIXAL,
  CSSED_FILETYPE_MPT, CSSED_FILETYPE_MSSQL, CSSED_FILETYPE_MATLAB, CSSED_FILETYPE_METAPOST,
  CSSED_FILETYPE_NSIS, CSSED_FILETYPE_PB, CSSED_FILETYPE_POV, CSSED_FILETYPE_PS,
  CSSED_FILETYPE_PASCAL, CSSED_FILETYPE_RUBY, CSSED_FILETYPE_SCRIPTOL, CSSED_FILETYPE_SPECMAN,
  CSSED_FILETYPE_TEX, CSSED_FILETYPE_VB, CSSED_FILETYPE_VHDL, CSSED_FILETYPE_VERILOG,
  CSSED_FILETYPE_YAML, CSSED_FILETYPE_USR, CSSED_FILETYPE_USR1, CSSED_FILETYPE_USR2,
  CSSED_FILETYPE_USR3, CSSED_FILETYPE_USR4, CSSED_FILETYPE_USR5, CSSED_FILETYPE_USR6,
  CSSED_FILETYPE_USR7, CSSED_FILETYPE_USR8, CSSED_FILETYPE_USR9
}
 list of recogniced file type identifiers More...


Enumeration Type Documentation

enum CssedCodePage
 

cssed's code pages

Enumerator:
CSSED_CODEPAGE_DEFAULT  Default code page.
CSSED_CODEPAGE_UTF8  UTF8 code page.
CSSED_CODEPAGE_DBCS  DBCS code page (Thai, Hangul).

Definition at line 105 of file cssedwindow.h.

enum CssedEolMode
 

cssed's end of line modes

Enumerator:
EOL_MODE_CRLF  Windows end of line Carriage return / Line feed.
EOL_MODE_CR  Mac end of line Carriage return.
EOL_MODE_LF  Unix end of line Line feed.

Definition at line 95 of file cssedwindow.h.

enum CssedError
 

cssed related errors

Enumerator:
CSSED_FILE_ERROR_EXIST  file error matches with G_FILE_ERROR_EXIST
CSSED_FILE_ERROR_ISDIR  file error matches with G_FILE_ERROR_ISDIR
CSSED_FILE_ERROR_ACCES  file error matches with G_FILE_ERROR_ACCES
CSSED_FILE_ERROR_NAMETOOLONG  file error matches with G_FILE_ERROR_NAMETOOLONG
CSSED_FILE_ERROR_NOENT  file error matches with G_FILE_ERROR_NOENT
CSSED_FILE_ERROR_NOTDIR  file error matches with G_FILE_ERROR_NOTDIR
CSSED_FILE_ERROR_NXIO  file error matches with G_FILE_ERROR_NXIO
CSSED_FILE_ERROR_NODEV  file error matches with G_FILE_ERROR_NODEV
CSSED_FILE_ERROR_ROFS  file error matches with G_FILE_ERROR_ROFS
CSSED_FILE_ERROR_TXTBSY  file error matches with G_FILE_ERROR_TXTBSY
CSSED_FILE_ERROR_FAULT  file error matches with G_FILE_ERROR_FAULT
CSSED_FILE_ERROR_LOOP  file error matches with G_FILE_ERROR_LOOP
CSSED_FILE_ERROR_NOSPC  file error matches with G_FILE_ERROR_NOSPC
CSSED_FILE_ERROR_NOMEM  file error matches with G_FILE_ERROR_NOMEM
CSSED_FILE_ERROR_MFILE  file error matches with G_FILE_ERROR_MFILE
CSSED_FILE_ERROR_NFILE  file error matches with G_FILE_ERROR_NFILE
CSSED_FILE_ERROR_BADF  file error matches with G_FILE_ERROR_BADF
CSSED_FILE_ERROR_INVAL  file error matches with G_FILE_ERROR_INVAL
CSSED_FILE_ERROR_PIPE  file error matches with G_FILE_ERROR_PIPE
CSSED_FILE_ERROR_AGAIN  file error matches with G_FILE_ERROR_AGAIN
CSSED_FILE_ERROR_INTR  file error matches with G_FILE_ERROR_INTR
CSSED_FILE_ERROR_IO  file error matches with G_FILE_ERROR_IO
CSSED_FILE_ERROR_PERM  file error matches with G_FILE_ERROR_PERM
CSSED_FILE_ERROR_FAILED  file error matches with G_FILE_ERROR_FAILED
CSSED_FILE_ERROR_LAST  this is not an error code it's just to know were the GFIleError matching ends
CSSED_ERROR_FILE_IS_OPENED  the file is already opened onto cssed
CSSED_ERROR_FILE_NOT_REGULAR  the file is not a regular file, may be a device or whatever
CSSED_ERROR_DOC_IS_NULL  NULL document have been passed or returned for sure programming error.

Definition at line 35 of file cssedwindow.h.

enum CssedFileTypeId
 

list of recogniced file type identifiers

Enumerator:
CSSED_FILETYPE_UNKNOW  internall use, never use it.
CSSED_FILETYPE_TEXT  The default file type, plain text.
CSSED_FILETYPE_BYNARY  not used ,but will be link insertion
CSSED_FILETYPE_CSS  core language
CSSED_FILETYPE_HTML  this is not just HTML but hypertext and includes ASP, JSP and PHP
CSSED_FILETYPE_PHP  This is standalon PHP not server side PHP (for sh-like scripts).
CSSED_FILETYPE_XML  XML and SVG.
CSSED_FILETYPE_SH  shell and bash scripts
CSSED_FILETYPE_C  not just C but CPP
CSSED_FILETYPE_APACHE_CONF  apache conf files
CSSED_FILETYPE_LISP  mostly for emacs.el files (not ready)
CSSED_FILETYPE_PERL  perl scripts
CSSED_FILETYPE_PYTHON  python
CSSED_FILETYPE_SQL  SQL (Ansi).
CSSED_FILETYPE_DIFF  diff and patch files
CSSED_FILETYPE_JAVA  java
CSSED_FILETYPE_JS  javascript
CSSED_FILETYPE_MAKE  Makefiles.
CSSED_FILETYPE_APDL  APDL.
CSSED_FILETYPE_AU3  AU3.
CSSED_FILETYPE_AVE  AVE.
CSSED_FILETYPE_ADA  ADA.
CSSED_FILETYPE_ASM  Assembler.
CSSED_FILETYPE_ASN1  ASN1.
CSSED_FILETYPE_BAAN  BAAN.
CSSED_FILETYPE_BASIC  BASIC.
CSSED_FILETYPE_BULLANT  BULLANT.
CSSED_FILETYPE_CLW  CLW.
CSSED_FILETYPE_CAML  CAML.
CSSED_FILETYPE_CRONTAB  CRONTAB.
CSSED_FILETYPE_ESCRIPT  ESCRIPT.
CSSED_FILETYPE_EIFFEL  EIFFEL.
CSSED_FILETYPE_ERLANG  ERLANG.
CSSED_FILETYPE_FORTH  FORTH.
CSSED_FILETYPE_FORTRAN  FORTRAN.
CSSED_FILETYPE_GUI4CLI  GUI4CLI.
CSSED_FILETYPE_KIX  KIX.
CSSED_FILETYPE_LOUT  LOUT.
CSSED_FILETYPE_LUA  LUA.
CSSED_FILETYPE_MMIXAL  MMIXAL.
CSSED_FILETYPE_MPT  MPT.
CSSED_FILETYPE_MSSQL  MSSQL.
CSSED_FILETYPE_MATLAB  MATLAB.
CSSED_FILETYPE_METAPOST  METAPOST.
CSSED_FILETYPE_NSIS  NSIS.
CSSED_FILETYPE_PB  PureBasic.
CSSED_FILETYPE_POV  POV.
CSSED_FILETYPE_PS  PS.
CSSED_FILETYPE_PASCAL  PASCAL.
CSSED_FILETYPE_RUBY  RUBY.
CSSED_FILETYPE_SCRIPTOL  SCRIPTOL.
CSSED_FILETYPE_SPECMAN  SPECMAN.
CSSED_FILETYPE_TEX  TEX.
CSSED_FILETYPE_VB  VisualBasic.
CSSED_FILETYPE_VHDL  VHDL.
CSSED_FILETYPE_VERILOG  VERILOG.
CSSED_FILETYPE_YAML  YAML.
CSSED_FILETYPE_USR  Empty slot for user defined languages.
CSSED_FILETYPE_USR1  Empty slot for user defined languages.
CSSED_FILETYPE_USR2  Empty slot for user defined languages.
CSSED_FILETYPE_USR3  Empty slot for user defined languages.
CSSED_FILETYPE_USR4  Empty slot for user defined languages.
CSSED_FILETYPE_USR5  Empty slot for user defined languages.
CSSED_FILETYPE_USR6  Empty slot for user defined languages.
CSSED_FILETYPE_USR7  Empty slot for user defined languages.
CSSED_FILETYPE_USR8  Empty slot for user defined languages.
CSSED_FILETYPE_USR9  Empty slot for user defined languages.

Definition at line 136 of file cssedwindow.h.


Back to Index

This documentation is © Iago Rubio Sanfiz, 2004