📄 windent.rc
字号:
EDITTEXT IDC_NAME,48,6,72,12,ES_AUTOHSCROLL
LTEXT "名称:",IDC_STATIC,11,8,25,12
END
IDD_STRINDENT DIALOGEX 0, 0, 355, 151
STYLE DS_LOCALEDIT | DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
PUSHBUTTON "格式化",IDC_TEST,286,0,50,14
EDITTEXT IDC_EDIT1,0,15,351,132,ES_MULTILINE | ES_AUTOVSCROLL |
ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
END
IDD_FILEINDENT DIALOGEX 0, 0, 356, 146
STYLE DS_LOCALEDIT | DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
CONTROL "",IDC_FILELIST,"SysListView32",LVS_REPORT |
LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,12,6,282,132
PUSHBUTTON "添加文件...",IDC_ADD,300,6,50,14
PUSHBUTTON "删除",IDC_REMOVE,300,24,50,14
PUSHBUTTON "删除所有",IDC_REMOVEALL,300,42,50,14
PUSHBUTTON "格式化",IDC_FORMATFILE,300,120,50,14
CONTROL "备份源文件",IDC_BACKUP,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,300,60,56,10
CONTROL "格式化语法错误的文件",IDC_FORCE,"Button",
BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,300,72,54,18
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,1
PRODUCTVERSION 0,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080403a8"
BEGIN
VALUE "FileVersion", "0.0.0.1"
VALUE "InternalName", "windent.exe"
VALUE "OriginalFilename", "windent.exe"
VALUE "ProductName", "Windent"
VALUE "ProductVersion", "0.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 936
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_WINDENT_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 300
TOPMARGIN, 7
BOTTOMMARGIN, 307
END
IDD_STD, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 333
TOPMARGIN, 7
BOTTOMMARGIN, 7
END
IDD_INDENT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 333
TOPMARGIN, 7
BOTTOMMARGIN, 7
END
IDD_BLANKLINE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 333
TOPMARGIN, 7
BOTTOMMARGIN, 7
END
IDD_SAVEAS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 141
TOPMARGIN, 7
BOTTOMMARGIN, 35
END
IDD_STRINDENT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 348
TOPMARGIN, 7
BOTTOMMARGIN, 144
END
IDD_FILEINDENT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 349
TOPMARGIN, 7
BOTTOMMARGIN, 139
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// RT_MANIFEST
//
1 RT_MANIFEST "windent.manifest"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDC_comment_delimiter_on_blankline "是否空行分割注释"
IDC_verbose "显示详细出错信息\r\nwhen true, non-essential error messages are printed \r\n"
IDC_use_tabs "使用tab\r\ndoes indent convert tabs to spaces or not\r\n"
IDC_use_stdout "TRUE\r\nWhere does output go. "
IDC_c_plus_plus "是否c++风格\r\nTrue if we're handling C++ code. "
IDC_tab_size "tab长度\r\nThe number of columns a tab character generates. "
IDC_max_col "最大列\r\nthe maximum allowable line length "
IDC_else_endif_col "#else #endif右边注释的缩进\r\nThe column in which comments to the right of #else and #endif should start. "
IDC_comment_max_col "注释的最大列"
IDC_space_sp_semicolon "if while for 和后面的(之间 有没有空格\r\nIf true, a space is inserted between if, while, or for, and a semicolon for example while (*p++ == ' ') "
IDC_space_after_while "是否有while后的空格\r\nPut a space after `while' "
IDC_space_after_if "是否有if否的空格\r\nPut a space after `if' "
IDC_space_after_for "是否有for后的空格\r\nPut a space after `for' "
IDC_parentheses_space "是否括号内有空格,ie. ( foo ) \r\nIf true, parentheses will look like: ( foo ) rather than (foo) "
IDC_proc_calls_space "是否函数调用后有空格,ie. fun (param)\r\nIf true, procedure calls look like: foo (bar) rather than foo(bar) "
END
STRINGTABLE
BEGIN
IDC_swallow_optional_blanklines "是否删除无效空行"
IDC_com_ind "代码右边注释缩进的列\r\nthe column in which comments to the right of code should start "
IDC_brace_indent "if while等后的缩进\r\nnumber of spaces to indent braces from the suround if, while, etc. in -bl (bype_2 == 0) code "
IDC_case_brace_indent "case 开始的缩进\r\nIndentation level to be used for a '{' directly following a case label. "
IDC_decl_com_ind "声明的注释的列\r\nthe column in which comments after declarations should be put "
END
STRINGTABLE
BEGIN
IDC_continuation_indent "未结束代码换行的缩进\r\nset to the indentation between the edge of code and continuation lines in spaces "
IDC_procnames_start_line
"是否在函数名之前另起一行(返回类型之后)\r\nif true, the names of procedures being defined get placed in column 1 (ie. A newline is placed between the type of the procedure and its name) "
IDC_honour_newlines "??是否对新行高优先???\r\nTrue when positions at which we read a newline in the input file, should get a high priority to break long lines at. "
IDC_break_function_decl_args
"是否声明时的参数,另起一行\r\ntrue if declarations should have args on new lines "
IDC_break_function_decl_args_end
"是否声明时的参数,另起一行要(\r\ntrue if declarations should have after args on new lines "
IDC_ljust_decl "是否声明左对齐\r\ntrue if declarations should be left justified "
IDC_break_before_boolean_operator
"是否在 && 和 ||前换行\r\nTrue when we prefer to break a long line before a '&&' or '||', instead of behind it. "
IDC_braces_on_struct_decl_line
"是否struct声明的{在同一行\r\nwhen true, brace should be on same line as the struct declaration "
IDC_braces_on_func_def_line
"是否函数声明的{在同一行\r\nwhen true, brace should be on same line as the function definition "
IDC_lineup_to_parens "是否 换行的代码与左括号对齐\r\nif true, continued code within parens will be lined up to the open paren "
IDC_cuddle_else "是否if else紧贴{ \r\ntrue if else should cuddle up to '}' "
IDC_cuddle_do_while "是否在do while中的{有空格\r\ntrue if '}' should cuddle up to while in do loop "
IDC_star_comment_cont "是否注释已星号开始\r\ntrue if comment continuation lines should have stars at the beginning of each line. "
IDC_format_comments "是否所有的注释要格式化 If any comments are to be reformatted "
IDC_format_col1_comments
"是否注释在第一列开始要格式化 If comments which start in column 1 are to be magically reformatted "
END
STRINGTABLE
BEGIN
IDC_leave_preproc_space "是否与处理命令后有空格\r\nif true, leave the spaces between '#' and preprocessor commands. "
IDC_cast_space "是否类型转换后有空格\r\nIf true, casts look like: (char *) bar rather than (char *)bar "
IDC_blank_after_sizeof "是否sizeof后有空格\r\ntrue iff a blank should always be inserted after sizeof "
IDC_struct_brace_indent "struct union enum后{的缩进量\r\nIndentation level to be used for a '{' directly following a struct, union or enum "
IDC_paren_indent "???每个括号的缩进量 ???\r\nset to the indentation per open parens "
IDC_force_preproc_width "预处理的缩进量\r\nif this is >0, this becomes the preproc indent-level "
IDC_extra_expression_indent
"是否在if(e) while(e) for(e e e)中的e换行要缩进\r\nTrue if continuation lines from the expression part of if(e), while(e), for(e e e) should be indented an extra tab stop so that they don't conflict with the code that follows "
IDC_indent_parameters "参数的缩进的空格数\r\nNumber of spaces to indent parameters. "
IDC_leave_comma "是否不断开逗号后的声明\r\nif true, never break declarations after commas "
IDC_btype_2 "是否if while等的{在同一行\r\nwhen true, brace should be on same line as if, while, etc "
END
STRINGTABLE
BEGIN
IDC_blanklines_after_declarations_at_proctop
"同blanklines_after_declarations,但是只在函数体开头的声明后换行\r\nThis is vaguely similar to blanklines_after_declarations except that it only applies to the first set of declarations in a procedure (just after the first '{') and it causes a blank line to be generated even if there are no declarations"
IDC_unindent_displace "不在代码右边的注释,?????\r\ncomments not to the right of code will be placed this many indentation levels to the left of code "
IDC_decl_indent "声明的缩进\r\ncolumn to indent declared identifiers to "
IDC_case_indent "case的缩进量\r\nThe distance to indent case labels from the switch statement "
END
STRINGTABLE
BEGIN
IDC_ind_size "缩进的空格数,如果是使用空格缩进的话\r\nThe size of one indentation level in spaces. "
END
#endif // 中文(中华人民共和国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE 4, 2
#pragma code_page(936)
#include "res\windent.rc2" // 非 Microsoft Visual C++ 编辑过的资源
#include "afxres.rc" // 标准组件
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -