Subversion Repositories planix.SVN

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 121
Line 26... Line 26...
26
 * less than a full screen by deleting a line above the top of the
26
 * less than a full screen by deleting a line above the top of the
27
 * window before doing an insert line to keep all the good text
27
 * window before doing an insert line to keep all the good text
28
 * on the screen in which case the line may actually end up
28
 * on the screen in which case the line may actually end up
29
 * somewhere other than line p.
29
 * somewhere other than line p.
30
 */
30
 */
-
 
31
int
31
vopen(tp, p)
32
vopen(tp, p)
32
	line *tp;
33
	line *tp;
33
	int p;
34
	int p;
34
{
35
{
35
	register int cnt;
36
	register int cnt;
Line 519... Line 520...
519
 
520
 
520
/*
521
/*
521
 * Repaint the screen, with cursor at curs, aftern an arbitrary change.
522
 * Repaint the screen, with cursor at curs, aftern an arbitrary change.
522
 * Handle notification on large changes.
523
 * Handle notification on large changes.
523
 */
524
 */
-
 
525
int
524
vrepaint(curs)
526
vrepaint(curs)
525
	char *curs;
527
	char *curs;
526
{
528
{
-
 
529
#ifdef ADEBUG
-
 
530
	if (trace)
-
 
531
		fprintf(trace, "vrepaint(%d)\n", curs);
-
 
532
#endif
527
 
533
	
528
	wdot = NOLINE;
534
	wdot = NOLINE;
529
	/*
535
	/*
530
	 * In open want to notify first.
536
	 * In open want to notify first.
531
	 */
537
	 */
532
	noteit(0);
538
	noteit(0);
Line 597... Line 603...
597
	 * Notification on large change for visual
603
	 * Notification on large change for visual
598
	 * has to be done last or we may lose
604
	 * has to be done last or we may lose
599
	 * the echo area with redisplay.
605
	 * the echo area with redisplay.
600
	 */
606
	 */
601
	noteit(1);
607
	noteit(1);
602
 
608
 
603
	/*
609
	/*
604
	 * Finally.  Move the cursor onto the current line.
610
	 * Finally.  Move the cursor onto the current line.
605
	 */
611
	 */
606
	vnline(curs);
612
	vnline(curs);
607
}
613
}
Line 617... Line 623...
617
	register int l;
623
	register int l;
618
	register line *tp;
624
	register line *tp;
619
	char temp[LBSIZE];
625
	char temp[LBSIZE];
620
	bool anydl = 0;
626
	bool anydl = 0;
621
	short oldhold = hold;
627
	short oldhold = hold;
622
 
-
 
623
 
628
 
624
#ifdef ADEBUG
629
#ifdef ADEBUG
625
	if (trace)
630
	if (trace)
626
		tfixnl(), fprintf(trace, "vredraw(%d)\n", p), tvliny();
631
		tfixnl(), fprintf(trace, "vredraw(%d)\n", p), tvliny();
627
#endif
632
#endif
-
 
633
 
628
	if (holdupd) {
634
	if (holdupd) {
629
		holdupd = 3;
635
		holdupd = 3;
630
		return;
636
		return;
631
	}
637
	}
632
	if (state == HARDOPEN || splitw)
638
	if (state == HARDOPEN || splitw)
Line 816... Line 822...
816
{
822
{
817
 
823
 
818
	vsync(LINE(vcline));
824
	vsync(LINE(vcline));
819
}
825
}
820
 
826
 
-
 
827
int
821
vsync(p)
828
vsync(p)
822
	register int p;
829
	register int p;
823
{
830
{
824
 
831
 
825
	if (value(REDRAW))
832
	if (value(REDRAW))