File: ml_edit_util.h

package info (click to toggle)
mlterm 2.9.4-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 16,728 kB
  • ctags: 5,338
  • sloc: ansic: 74,649; sh: 8,532; cpp: 1,451; makefile: 1,126; perl: 496; sed: 16
file content (24 lines) | stat: -rw-r--r-- 515 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *	$Id: ml_edit_util.h,v 1.2 2004/10/09 04:39:47 arakiken Exp $
 */

#ifndef  __ML_EDIT_UTIL_H__
#define  __ML_EDIT_UTIL_H__


#include  <kiklib/kik_debug.h>

#include  "ml_edit.h"


#define  CURSOR_LINE( edit)  ml_get_cursor_line( &(edit)->cursor)
#define  CURSOR_CHAR( edit)  ml_get_cursor_char( &(edit)->cursor)


int  ml_edit_clear_lines( ml_edit_t *  edit , int  start , u_int  size) ;

int  ml_edit_copy_lines( ml_edit_t *  edit , int  dst_row , int  src_row , u_int  size ,
	int  mark_changed) ;


#endif