[Anjuta-list] [RFC] Search and Replace
- From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
- To: Anjuta devel <anjuta-devel lists sourceforge net>
- Cc: Anjuta List <anjuta-list lists sourceforge net>
- Subject: [Anjuta-list] [RFC] Search and Replace
- Date: Thu Dec 19 21:33:06 2002
Guys:
I'll be re-implementing the Search/Replace interface using PCRE next
week. I'm posting the current requirements doc. You can also find the
document in CVS.
Please post your comments/ideas/criticism/flames to the list or send
them directly to me.
Rgds,
Biswa.
Redesigning Search/Replace: Requirements:
-----------------------------------------
Reference implementation: Regexxer.
R1. Integrated GUI
1.1 Search and replace dialogs should be the same.
1.2 Same dialog for all files/current file.
R2. Specifying search expressions:
2.1 Constant strings.
2.2 Regular expressions.
2.3 Regexp shortcuts
2.3.1 Ignore case
2.3.2 Whole word
2.3.3 Beginning of word
2.4 Subexpressions (ref 4.2)
R3. Specifying search range:
3.1 File level:
3.1.1 Current buffer
3.1.2 Current selection
3.1.3 Current block
3.1.4 Current function (top level block)
3.1.5 All open buffers
3.2 Project Level:
3.2.1 All project files
3.2.2 Files of a particular module (e.g. include)
3.3 Directory level:
3.3.1 Include directory patterns (globbing)
3.3.2 File patterns (globbing)
3.3.3 Exclude file patterns (globbing)
3.3.4 Exclude directory patterns (globbing)
R4. Replace expression:
4.1 Fixed string
4.2 String with back references (ref 2.4)
4.3 Result of function call on matched string
4.3.1 User defined functions (Python scripting)
4.3.2 Pre-defined functions (upcase, etc.)
4.3.2 Output of tool (Tools interface)
R5. Reuse configured dialogs (saved searches)
5.1 Save current dialog
5.1.1 User level
5.1.2 Project Level (?)
5.2 Assign names to commonly used dialog settings.
5.3 Retrieve dialog settings by name from combo.
R6. Context help with variables and regular expressions.
R7. Miscellaneous options:
7.1 Ask before replacing.
7.2 Open in editor before replacing.
R8. Displaying search results:
8.1 Show in find pane.
8.2 Two find panes.
8.3 Highlight all occurences in buffers.
-----------------------------------------------
****** Message from InterScan E-Mail VirusWall NT ******
NO VIRUS FOUND: SERVER GENERATED MESSAGE
***************** End of message ***************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]