Forum Replies Created
- AuthorPosts
- October 4, 2006 at 4:03 pm in reply to: Disappeared: Save as encoding Central european(DOS) – CP852 #3856Yutaka EmuraKeymaster
You can add Save As (encoding) to the main menu by selecting Customize Menus on the Tools menu, and then select File category – List of Encodings to Save.
Yutaka EmuraKeymasterI perfectly understand what you mean, and I know some text editors allow you to do just that. I will consider that in future. Thanks! :-)
Yutaka EmuraKeymasterThis is one of frequently asked features, and I consider that seriously. Thanks!
p.s. Please don’t post the same message in different forums.
Yutaka EmuraKeymasterThis is one of frequently asked features, and I consider that seriously. Thanks!
Yutaka EmuraKeymasterI understand your requests. Thanks for your opinions.
Yutaka EmuraKeymasterDid you try:
Text Properties > File tab > Saving button > Always Enable Saving?
I hope this will solve your issue. :-)
Yutaka EmuraKeymasterThat isn’t very easy, but I will consider that. What do you want to do by double-clicking the text?
Yutaka EmuraKeymasterIt isn’t easy to do with regular expressions, but how about a macro like this (JavaScript):
// Create an array
a = new Array();
// Fill the array a with all lines (with returns) in the document.
document.selection.StartOfDocument();
for( ; ; ){
y = document.selection.GetActivePointY( eePosLogical );
document.selection.SelectLine();
sLine = document.selection.Text;
if( sLine == "" ) { // Reached the end of document, escape from the loop
break;
}
a.push( sLine );
document.selection.Collapse();
if( document.selection.GetActivePointY( eePosLogical ) == y ) {
// Reached the end of document (the last line without return), escape from the loop
break;
}
}
// Delete duplicate elements.
for( i = 0; i < a.length; i++ ){
sLine = a[i];
for( j = i + 1; j < a.length; j++ ){
if( sLine == a[j] ){
a.splice( j, 1 );
j--;
}
}
}
// Replace the entire document with new elements
document.selection.SelectAll();
document.selection.Text = a.join( "" );
Please let me know if you have questions. :-)
- AuthorPosts