tags:

views:

77

answers:

1

I am developinga text editor for java with features like syntax highlighting and intellisense..

I am facing two problems. one i dont know how to read a line at a required index. and other how to use the batch files of java package so that the code written can b compiled.

I will be grateful if anyone can help me. Thanx in advance.

A: 
  1. File.ReadAllLines(path) gives you an string[] and you can access the specific line.
  2. The Process can be used to execute a batch. The parameters used can be passed using the ProcessStartInfo object.
crauscher