feat: auto cut the overflow lines and keep only the first 1500 lines (30 pages) and the last 1500 lines (last 30 pages) as per the regulation#4
Open
Jeff-Tian wants to merge 3 commits into
Conversation
…(30 pages) and the last 1500 lines (last 30 pages) as per the regulation
Owner
|
当有的一行代码在输出到word之后,实际可能会排版成2~3行,所以造成我们输出3000行代码后,实际的word文件排版会超过60页。请问这种情况在当前commit是否能支持? |
Contributor
Author
Owner
|
好的,这个功能可以做成一个可选项不? |
Contributor
Author
|
目前就是可选项,用原来的命令行参数就行。
如果要激活这个功能,需要在原来的命令行参数基础上多传入一个参数。
这个参数是指定要导出多少行代码,比如传Inf,代表导出所有代码。如果代码量超过3000,就会激活裁剪逻辑。
如果不传,还是原来的逻辑,导出前3000行。
获取 Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Luxel Tao <notifications@github.com>
Sent: Wednesday, May 29, 2019 9:49:40 PM
To: luxel/ramile
Cc: Jeff; Author
Subject: Re: [luxel/ramile] feat: auto cut the overflow lines and keep only the first 1500 lines (30 pages) and the last 1500 lines (last 30 pages) as per the regulation (#4)
好的,这个功能可以做成一个可选项不?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4?email_source=notifications&email_token=AAZWHDADFLV6L2YRWZFZOYDPX2CXJA5CNFSM4HMXTR6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWPMM4Y#issuecomment-496944755>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAZWHDCBWWNKME34M5TH4K3PX2CXJANCNFSM4HMXTR6A>.
|
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


根据《中国著作权法》要求,如果代码超过3000行,word里保留前30页和后30页,每页50行。
这个改动自动完成这件事。