When using coder to review patch files I have found it sometimes a bit tedious to either type the full file path or to copy and paste the code, and have often thought it would be very useful to have to option to browse and select a file. I have coded this, and it is working (roughly).
I have attached screen grabs of before and after, to illustrate what I am doing. One nice side-effect is that removing the 'or' text exposed a previously unnoticed error where the nice helpful intro paragraph was being discarded due to it having the same array key as the 'or' text.
I will post a patch file, and explain the current issues which need sorting out.
Jonathan
Comments
Comment #1
jonathan1055 commentedHere is a patch, created from the latest dev release of 18th August and a screen grab highlighting the changes. I borrowed the 'file upload' code from upload.module. The issues which need addresing are:
I guess it should really be added into the D7 version first but I did not want to do that work if there is no interest in it. Let me know and thanks for reading this far.
Jonathan
[edit on 13 Dec only to correct typos]
Comment #2
klausiCoder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.