'Lock Buffer Feature'
Submitted by Tuesday, 17 February, 2004 - 18:16
on
Hi.
Many times, I have faced this problem when working on several buffers: am I editing the file I think I am editing ? I could realize it with a quick look on the tabs, but I guess we programmers can be quite distracted sometimes, and if I have two PHP sources open at the same time, I would think I am writing on file A while in fact, I am writing file B which should not be touched.
Of course, I could change the file permissions in order to prevent myself from doing something stupid. But not always.
My request is: I would like JEdit to have some mechanism to allow me to prohibit myself to write to a buffer. I would 'Lock' the buffer I do not want to write, and I could work with the two of them open at the same time. JEdit would still allow to select and copy text, but not write to the buffer.
So, what do you guys say ? Have you ever run into this same distraction ? Would this be useful ?
See ya
Leonel
Many times, I have faced this problem when working on several buffers: am I editing the file I think I am editing ? I could realize it with a quick look on the tabs, but I guess we programmers can be quite distracted sometimes, and if I have two PHP sources open at the same time, I would think I am writing on file A while in fact, I am writing file B which should not be touched.
Of course, I could change the file permissions in order to prevent myself from doing something stupid. But not always.
My request is: I would like JEdit to have some mechanism to allow me to prohibit myself to write to a buffer. I would 'Lock' the buffer I do not want to write, and I could work with the two of them open at the same time. JEdit would still allow to select and copy text, but not write to the buffer.
So, what do you guys say ? Have you ever run into this same distraction ? Would this be useful ?
See ya
Leonel