Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatted OutStreams #1816

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

markuspf
Copy link
Member

This is part of a resurrection of #895, adding two output stream wrappers:

  • OutputStreamFormatter wraps an output stream and has internal state for indentation levels, and interprets '\<' and '\>' for indent and dedent.
  • OutputStreamPrefixer wraps an output stream and prefixes every line with a prefix string.

These take an output stream, wrap it, and take care of indentation, and
prefixing respectively.
@fingolfin
Copy link
Member

So... is this supposed to be reviewed? Or do you just want to discuss the design? I am not sure what the final verdict on your slack discussion was as to the "default assumption" for a PR without any labels...

@@ -31,6 +31,8 @@
<#Include Label="IsOutputStream">
<#Include Label="IsOutputTextStream">
<#Include Label="IsOutputTextNone">
<#Include Label="IsOutputStreamFormatter">
<#Include Label="IsOutputStreamPrefixer">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No GAPDoc chunks with these names exist, hence the makemanuals tests fail.

@markuspf markuspf added do not merge PRs which are not yet ready to be merged (e.g. submitted for discussion, or test results) request-for-comments labels Oct 30, 2017
@markuspf markuspf added this to the GAP 4.10.0 milestone Nov 3, 2017
@fingolfin fingolfin removed this from the GAP 4.10.0 milestone Sep 28, 2018
@fingolfin fingolfin added kind: discussion discussions, questions, requests for comments, and so on and removed kind: request for comments labels Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge PRs which are not yet ready to be merged (e.g. submitted for discussion, or test results) kind: discussion discussions, questions, requests for comments, and so on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants